1 Introduction
Docviewmode provides support for Emacs, such as DVI and PDF. Docviewmode convert DVI, PDF, and other files into PNG images and open them in Emacs. Such as:
*
2 installation
Starting with Emacs V23, Docviewmode is included by default. However, you need to install the underlying package in the system:
First, Ghostscript is required.
Then to install Xpdf
3 Use
Some of the Emacs shortcuts can be used in Docviewmode, and Docviewmode also define some of their own shortcut keys:
Shortcut key function
P/N PAGE Down
+/-Zoom
C-s Search
Q exit
4 bookmarks
Docview does not directly support bookmarks, which is inconvenient, especially when reading larger documents. However, Emacs has another plugin bookmarks, which can be used in conjunction with Docviewmode.
Bookmarks is a plugin from Emacs that supports the following actions:
Shortcut key Actions
C-x R m Setting bookmarks
C-x R B Jump to bookmark
C-x R L List all bookmarks
M-x bookmark-delete Deleting bookmarks
* Only one bookmark per file can be set, if you want to use multiple bookmarks in one file, refer to bookmark+
* Default to save all bookmarks in ~/.EMACS.BMK
* More features that can be viewed with M-x bookmark tab
5 Summary
You can now set the default opener for PDFs in your system to Emacs.
Emacs View PDF (GO)