Skip to main content
10 votes

read e-books in Emacs

Try nov (installable via melpa). It is a reasonable start for reading ePUBs in Emacs.
halloleo's user avatar
  • 1,345
7 votes
Accepted

Org-mode file hyperlinks always use doc-view, can't force it to use external pdf viewer

I fixed the problem by using M-x customize-variable org-file-apps and adding a cons-cell with Extension: \.pdf\' and Command: evince %s at the top. Oddly enough, links starting with file+sys: still ...
Zacatexas's user avatar
  • 313
5 votes
Accepted

How to jump to a page in `DocView` mode when a pdf contains a roman numeral numbered introduction?

In pdf-tools you can type M-g l (pdf-view-goto-label), which asks for a page-label, which is usually equal to the displayed page-number.
politza's user avatar
  • 3,346
5 votes

Org-mode file hyperlinks always use doc-view, can't force it to use external pdf viewer

I added (add-to-list 'org-file-apps '("pdf" . "evince %s")) to my init-file. Now C-c C-o opens any PDF in evince and C-u C-u C-c C-o opens them in doc-view.
Dieter.Wilhelm's user avatar
3 votes
Accepted

How to disable DocView mode (completely)?

Other than the (rassq-delete-all #'doc-view-mode-maybe auto-mode-alist) suggested by Tyler (but note you need to use ...-maybe), you can also be more drastic: ;; Die, Doc-View-mode! die! (defalias '...
Stefan's user avatar
  • 26.5k
3 votes

pdf-tools indirect buffers

Indirect buffer need special support, since their buffer-file-name is nil. But this is currently not implemented in pdf-tools. So it seems that the answer is no.
politza's user avatar
  • 3,346
3 votes
Accepted

PDF doc view flickers continously

I had a similar problem with PDFView and it turned out that the flickering was caused by Blink-Cursor mode. Try to disable this minor mode in the buffer.
Simka's user avatar
  • 196
2 votes

read e-books in Emacs

EDIT Actually this answer seems more useful than presumed initially. I only tried this method on one book, and that book's conversion looked bad. I have tried multiple other books now, and most look ...
dalanicolai's user avatar
  • 7,880
2 votes

read e-books in Emacs

I recommend emacs-ereader. My experience is that it errs out less often while parsing an epub than nov and it too is installable as a package. Further, it supports annotations, integrates decent with ...
Joe's user avatar
  • 571
2 votes
Accepted

How to give my emacs access to ghostscript?

The variable doc-view-ghostscript-program is customizable: (setq doc-view-ghostscript-program "C:/Program Files (x86)/gs/gs9.09/bin/gswin32.exe")
lawlist's user avatar
  • 19.2k
2 votes
Accepted

Is there a fast way to get a docview link to a specific page in a PDF document?

There is org-docview which allows you to create usual org-links to documents open in docview-mode. Using C-c l you can store a link and using C-c C-l you can insert it. I would actually suggest using ...
andrej's user avatar
  • 1,003
2 votes

Preview PDFs with helm-bibtex

Look into helm's persistent actions. Basically allows you to execute an action (like opening the PDF) without ending the helm session. If your helm-bibtex is setup to use pdf-tools for viewing PDFs (...
tmalsburg's user avatar
  • 2,570
1 vote

`doc-view-mode` for PDFs not working

M-x find-library RET doc-view tells us: Requirements: doc-view.el requires GNU Emacs 22.1 or newer. You also need Ghostscript, dvipdf (comes with Ghostscript) or dvipdfm (comes with teTeX or TeXLive)...
phils's user avatar
  • 51.7k
1 vote

Pdf-tools: Toggle between viewing and editing mode

Using the standard hooks to remap C-c C-c and use it as a toggle key, seems to be the easiest way: ;; edit -> view (add-hook 'pdf-virtual-edit-mode-hook (lambda () (define-key ...
Andreas Matthias's user avatar
1 vote

Pdf-tools: Toggle between viewing and editing mode

The name of the command you would need to invoke to edit the pdf is: M-x pdf-virtual-edit-mode I don't think toggling is possible but I may be wrong.
Edman's user avatar
  • 1,229
1 vote

uninstall doc viewer in emacs

I'm sure there's a proper answer to the question coming but in the meantime... I'm assuming your question relates to wanting to open some external PDF viewer within a desktop environment, rather than ...
Stuart Hickinbottom's user avatar
1 vote

uninstall doc viewer in emacs

The major mode is selected automatically according to a bunch of rules, including looking at variable auto-mode-alist. Its initial value includes: ("\\.\\(?:PDF\\|DVI\\|OD[FGPST]\\|DOCX?\\|XLSX?\\|...
JeanPierre's user avatar
  • 7,475
1 vote

Use mutool / mpdf to render pdf documents in doc-view mode in Windows

mutool.exe is enough to view PDF in Emacs, put mutool.exe in .exec-path. doc-view-mode-p function always return nil for 'pdf TYPE. you need to let doc-view-mode-p return t for 'pdf. (defadvice doc-...
南山竹's user avatar
  • 216
1 vote

Use mutool / mpdf to render pdf documents in doc-view mode in Windows

It should just work as long as doc-view-pdfdraw-program either contains the absolute file name of the mudraw executable, or the executable can be found in exec-path. If that is the case, then doc-...
Stefan's user avatar
  • 26.5k
1 vote
Accepted

doc-view not working with emacs 25.2.1. (x86_64-w64-mingw32)

Sorry, the answer is simple: the string constant in (setq doc-view-ghostscript-program "C:\gs\gs9.20\bin") is wrong; the backslashes seem to be interpreted as special characters. And I forgot to ...
phynfo's user avatar
  • 141
1 vote

Gnome Tracker integration with emacs

Some years ago I wrote a dired-based interface to tracker results. It's not polished, but in case it is of any use, you can find the code here: https://www.emacswiki.org/emacs/Tracker
maarten's user avatar
  • 111
1 vote

Gnome Tracker integration with emacs

Looking at Martin's link to using baloo under KDE, the following function calls tracker's sparql query and shows the results in a new frame. A lot more needs to be done and could be added to make ...
Vishal Belsare's user avatar
1 vote
Accepted

Why does viewing PGP encrypted PDF fail?

When you open a encrypted file, Emacs automatically replaces the contents of it's buffer with a decrypted version of it. Though doc-view, and for that matter pdf-view as well, does not care for the ...
politza's user avatar
  • 3,346
1 vote

Emacs 24 Gui and Retina Display

https://github.com/railwaycat/emacs-mac-port this will actually help you . It has retina display build in support in the doc-view-mode.
algking's user avatar
  • 111

Only top scored, non community-wiki answers of a minimum length are eligible