Download GNU Emacs Manual
Transcript
Chapter 31: Miscellaneous Commands 653 Do an incremental search on the selected article buffer, as if you switched to the buffer and typed C-s (see Section 12.1 [Incremental Search], page 199). s M-s regexp RET Search forward for articles containing a match for regexp. Exit the summary buffer and return to the group buffer. q 31.2 Document Viewing 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) command and other external tools1 , and displaying those images. When you visit a document file that can be displayed with DocView mode, Emacs automatically uses DocView mode2 . As an exception, when you visit a PostScript file, Emacs switches to PS mode, a major mode for editing PostScript files as text; however, it also enables DocView minor mode, so you can type C-c C-c to view the document with DocView. In either DocView mode or DocView minor mode, repeating C-c C-c (doc-viewtoggle-display) toggles between DocView and the underlying file contents. You can explicitly enable DocView mode with the command M-x doc-view-mode. You can toggle DocView minor mode with M-x doc-view-minor-mode. When DocView mode starts, it displays a welcome screen and begins formatting the file, page by page. It displays the first page once that has been formatted. To kill the DocView buffer, type k (doc-view-kill-proc-and-buffer). To bury it, type q (quit-window). 31.2.1 DocView Navigation In DocView mode, you can scroll the current page using the usual Emacs movement keys: C-p, C-n, C-b, C-f, and the arrow keys. By default, the line-motion keys C-p and C-n stop scrolling at the beginning and end of the current page, respectively. However, if you change the variable doc-view-continuous to a non-nil value, then C-p displays the previous page if you are already at the beginning of the current page, and C-n displays the next page if you are at the end of the current page. You can also display the next page by typing n, NEXT or C-x ] (doc-view-next-page). To display the previous page, type p, PRIOR or C-x [ (doc-view-previous-page). SPC (doc-view-scroll-up-or-next-page) is a convenient way to advance through the document. It scrolls within the current page or advances to the next. DEL moves backwards in a similar way (doc-view-scroll-down-or-previous-page). 1 2 gs is a hard requirement. For DVI files, dvipdf or dvipdfm is needed. For OpenDocument and Microsoft Office documents, the unoconv tool is needed. The needed external tools for the document type must be available, and Emacs must be running in a graphical frame and have PNG image support. If any of these requirements is not fulfilled, Emacs falls back to another major mode.
Related documents
GLADE User's Guide
HP OpenVMS Command Definition, Librarian, and Message Utilities
GNU Emacs Manual - Mr. Gober`s Website
GNU Emacs Manual - Programming Systems Lab
Emacs Predictive Completion Manual
GNU Emacs Manual
Magit User Manual
GNU Emacs Manual - Journal of the Australian Mathematical
GNU Emacs Manual
Installing and Starting Emacs
Geiser User Manual - download.savannah.gnu.org
Section - Eli - University of Colorado Boulder