Emacs View PDF

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.