Questions tagged [docview]
DocView mode is a major mode for viewing DVI, PostScript (PS), PDF, OpenDocument, and Microsoft Office documents. It provides features such as slicing, zooming, and searching inside documents. It works by converting the document to a set of images using the gs (GhostScript) or mudraw/pdfdraw (MuPDF) commands and other external tools, and displaying those images.
40 questions
0
votes
0
answers
42
views
A way to make doc-view fit images by the width of the window automatically
So I have been using AUCTeX on Emacs recently, and I have been using doc-view to display the compiled pdf, but the doc-view standard resolution is too low and the image looks foggy, I increased the ...
0
votes
1
answer
209
views
Is there a way to navigate using table of contents in DocView mode?
Is there a way to navigate in DocView mode(for pdfs) to particular section using the section title instead of page number?
0
votes
0
answers
241
views
doc-view rendering of pdf files
I have emacs 27.2 installed on my M1 Macbook pro. With a lot of pdfs when I first visit the file from dired, the font rendering is badly messed up -- a lot of the characters are replaced either by ...
1
vote
1
answer
102
views
PDF appears very dark when viewed in DocView on MacOS
When I view PDFs in Emacs using DocView, they appear much darker than they should:
I am not sure why this happens -- I haven't changed any settings related to DocView or enabled any minor modes that ...
2
votes
1
answer
2k
views
`doc-view-mode` for PDFs not working
For some reason I cannot view PDF files in doc-view-mode.
Supposedly if I open a PDF file in Emacs, it should automatically open in the doc-view major mode. If it can't be opened in doc-view, then ...
1
vote
2
answers
402
views
Pdf-tools: Toggle between viewing and editing mode
In DocView (without pdf-tools installed) I could hit C-c C-c to toggle between viewing-mode and editing-mode. After installing pdf-tools I expected C-c C-c to act the same. But now it toggles between ...
1
vote
0
answers
18
views
DocView: Nuisance popup of page number in viewing .dvi files
I use DocView under Emacs 26.1 under Cygwin 10.0.2 under Windows 10.0. I use it chiefly for reading .dvi files. I discovered it by accident and find it extremely useful, but I cannot find any ...
1
vote
1
answer
788
views
How to disable DocView mode (completely)?
I found here that the following disables DocView mode for a specific file type, like PDF:
(add-to-list 'auto-mode-alist '("\\.pdf\\'" . fundamental-mode))
But how can DocView mode be disabled ...
1
vote
2
answers
135
views
Adding pdf page number/amount back when using powerline with docview
So I started using the powerline addon for emacs, and I noticed that among other things, by default it hides the page number of the pdf file (for instance P1/4) in the mode line. Is there any way to ...
1
vote
0
answers
285
views
How to (mostly) get rid of doc-view?
Since I moved to emacs 25 (25.3.2 at the moment) in every context (org-mode, gnus, latex, browsing url, direct access to file) I access pdf-files in emacs, they are displayed in doc-view. I basically ...
2
votes
1
answer
157
views
disable view prompt in AUCtex [closed]
I have been attempting to disable a prompt by auctex when pressing C-c C-c to view the document for close to the entire day. As I am a noob to emacs, I attempted to simply modify the auctex ...
0
votes
4
answers
258
views
uninstall doc viewer in emacs
I am trying to open files in Emacs using dired. But whenever I open pdf files, the doc viewer in Emacs keeps loading the document. Is there any
way to stop the pdf files being opened in Emacs ...
2
votes
3
answers
1k
views
Use mutool / mpdf to render pdf documents in doc-view mode in Windows
Since I feel that ghostscript is buggy on my surface laptop (at least its not working properly for doc-view in emacs with the pdf-Documents I want view; its beamer.pdf created with org-mode-beamer ...
1
vote
1
answer
1k
views
doc-view not working with emacs 25.2.1. (x86_64-w64-mingw32)
I am definitely no newbie and I think I now followed every little advice I could find online, and after 2 days doc-view is still not working :-( (it works fine on my older laptop under windows 10)
On ...
4
votes
1
answer
420
views
Preview PDFs with helm-bibtex
I use helm-bibtex to navigate and manage my bibtex database. Each entry is linked to a PDF.
I am looking for a way to see a live preview of each pdf, while scanning through my helm completion window ...
0
votes
1
answer
52
views
Removing old name /tmp/docview1000 warning
When starting emacs I get the following warning:
Warning (initialization): an error occurred while loading '/home/jamesbond/.emacs':
File error: Removing old name, no such file or directory, /tmp/...
2
votes
1
answer
202
views
pdf-tools indirect buffers
I am using an indirect buffer of a pdf from a pdf-tools PDFView buffer. This works except the indirect buffer is in DocView mode, and therefore I can't use any of the pdf-tools features in that buffer....
1
vote
1
answer
721
views
Is there a fast way to get a docview link to a specific page in a PDF document?
When I press "w" in eww-mode i get the link to the opened Homepage. Now I can yank this link very fast in an Org Mode file.
How can I get such a link to a specific page in an open PDF document in the ...
2
votes
2
answers
398
views
Gnome Tracker integration with emacs
I use Gnome Tracker quite a bit and am led to wonder whether there is currently any way to use Tracker from within emacs? That is to say; searching for files indexed by Tracker, within emacs (and ...
2
votes
0
answers
108
views
doc-view failing for some PDFs, but ghostscript can view them?
When I use docview to view PDFs on my work computer (a redhat linux system) it always works, except in PDFs coming from Springer-Verlag articles and chapters. In that case it gives this error:
...
1
vote
0
answers
92
views
Calling `doc-view-goto-page` in other buffer
I'm trying to control paging of a PDF file in doc-view mode. Say we have the following snippet
(let ((origin-frame (window-frame)))
(with-selected-frame (make-frame-command)
(let ((pdf-buffer (...
2
votes
1
answer
1k
views
How to jump to a page in `DocView` mode when a pdf contains a roman numeral numbered introduction?
Lets say that I am viewing a pdf in emacs which contains a section numbered with roman numerals. How would I jump to page xxii in that section without doing mental math about what that page's number ...
9
votes
2
answers
1k
views
Org-mode file hyperlinks always use doc-view, can't force it to use external pdf viewer
I am using Emacs 25.1 run with emacs -Q and Org mode version 8.2.10. This problem persists in my customized Emacs with Org mode version 8.3.6.
I am attempting to open hyperlinks of the form
[[file:...
0
votes
1
answer
241
views
Why does viewing PGP encrypted PDF fail?
When I try to open a PGP encrypted PDF file.pdf.gpg, then – after entering the PIN in my smartcard reader – a window pops up with an error message:
Error: /syntaxerror in (binary token, type=150)
...
0
votes
1
answer
2k
views
How to give my emacs access to ghostscript?
I strugle to give my emacs access to ghostscript (to make doc-view show me pdf previews), and seem lost in a
plethora of internet advises about how to install gs. Here is what I have done, and
it does ...
4
votes
2
answers
1k
views
Emacs 24 Gui and Retina Display
I've got a macbook pro with a retina display and Emacs 24.5.
DocView rendering of pdf are very blurry. There is a few threads on the subjects but they deal with setting a higher resolution which didn'...
7
votes
2
answers
2k
views
Doc-view change background to black
How can we invert the colors of the image when opening a pdf file in doc-view?
2
votes
0
answers
779
views
How to disable doc-view in AUCTex
I'm using Emacs 24.3.1 on Ubuntu 14.04 with AUCTex for LaTeX editing. The command C-c C-c allows me to easily compile the document with pdflatex. However, the second time I'm running C-c C-c, instead ...
2
votes
1
answer
633
views
PDF doc view flickers continously
I just configured my emacs to display PDFs using doc view. But the problem is that the display flickers continuously. It seems that doc view is constantly refreshing the frame leading to an unpleasant ...
7
votes
1
answer
4k
views
Make doc-view use mupdf for pdf files
Of course I already know about https://github.com/politza/pdf-tools.
I am on Emacs 24.5.1.
I am not convinced that doc-view is using mudraw/mupdf for pdf files.
(require 'doc-view)
(print doc-view-...
4
votes
0
answers
2k
views
Doc-view not working despite gs being in my path
I have trouble getting the doc-view-mode displaying pdfs. Here's the error message generated :
No PNG support is available, or some conversion utility for pdf files is missing.
From what I've ...
14
votes
4
answers
8k
views
read e-books in Emacs
I use eww to read online articles in Emacs instead of in a browser because it is less distracting and I can take notes in an org-mode quickly without switching applications.
I wonder how feasible it ...
3
votes
1
answer
1k
views
doc-view-mode-hook?
Whenever I open a pdf in emacs, I'd like to increase the font size. I thought I would just place (doc-view-enlarge) in a 'doc-view-mode-hook. However, I can't find such a hook.
Yet this source ...
6
votes
1
answer
343
views
Enable follow-mode for PDF in doc-view/pdf-view-mode
Is it possible to customize follow mode to open the next PDF page in another buffer? Currently follow-mode has no effect on PDF files.
1
vote
1
answer
523
views
Scroll other window (doc-view) -- by page -- with mouse wheel
I am using a slightly modified version of doc-view mode and would like to maintain focus in a different window, while hovering with the mouse over the doc-view window and scroll the image page-up or ...
1
vote
1
answer
358
views
docview: suppress "File X is too large, really open?" confirmation
Is it possible to avoid the "File X is too large, really open?" confirmation?
If not, would it be possible for Emacs to remember my answer the first time I visited a large file? If I visited it once,...
12
votes
1
answer
1k
views
How to display several pages of a PDF simultaneously in Docview?
I'm using Emacs, AUCTeX, and latex-preview-pane-mode to create a PDF presentation. However, the preview only displays one page at a time.
Is this the only way? It wastes some of the vertical space ...
15
votes
1
answer
5k
views
improve doc-view display quality
The fonts in my pdf's as displayed in doc-view aren't particularly readable. Is there a setting I can change to improve the image quality? I tried changing doc-view-resolution from 100 to 300, but ...
0
votes
1
answer
152
views
DocView clashing with global keymaps
I have the following keymap defined to navigate my Emacs windows:
(defvar my-keys-minor-mode-map (make-keymap) "my-keys-minor-mode keymap.")
(define-key my-keys-minor-mode-map (kbd "C-M-j") 'windmove-...
25
votes
2
answers
44k
views
How to view and edit pdf files in emacs?
I heard that we can view pdf files in emacs. Is it done by converting pdf files to plain texts first?
Can we view pdf files at its fullness in emacs?
can we edit pdf files in emacs?
Thanks.