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.

Filter by
Sorted by
Tagged with
0
votes
0answers
29 views

How to disable text mode when open pdf in emacs?

I installed pdf-tools, but each time I open the pdf it is using the fundamental view mode (I assume it is text mode). I wonder is there a way to automatically use the pdf-view-mode? Thanks.
1
vote
1answer
25 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
1answer
32 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
0answers
56 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 ...
10
votes
3answers
2k 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
2answers
827 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'...
1
vote
1answer
44 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 ...
2
votes
3answers
503 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 ...
12
votes
1answer
686 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 ...
2
votes
2answers
195 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 ...
4
votes
1answer
232 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
4answers
136 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 ...
0
votes
1answer
745 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 ...
1
vote
1answer
102 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....
0
votes
1answer
26 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/...
0
votes
1answer
336 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
0answers
68 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
0answers
40 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 (...
4
votes
2answers
571 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:...
2
votes
1answer
314 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 ...
2
votes
1answer
460 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 ...
0
votes
1answer
106 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
1answer
855 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 ...
6
votes
2answers
801 views

Doc-view change background to black

How can we invert the colors of the image when opening a pdf file in doc-view?
1
vote
0answers
475 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 ...
7
votes
1answer
2k 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-...
18
votes
2answers
17k 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.
6
votes
1answer
204 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.
4
votes
0answers
1k 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 ...
1
vote
1answer
541 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 ...
1
vote
1answer
354 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
1answer
236 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,...
0
votes
1answer
134 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-...
10
votes
1answer
2k 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 ...