diff options
| author | Tassilo Horn | 2010-12-30 21:23:13 +0100 |
|---|---|---|
| committer | Tassilo Horn | 2010-12-30 21:23:13 +0100 |
| commit | 92bb6c52b7e92a9f1dd772785633a3796b211e4f (patch) | |
| tree | 0e5b472bf7b9b67bd6ef8d753ea06f5be0c890d7 /doc | |
| parent | 291cc04566397aa80f1d8c4ff92abbf656fc4512 (diff) | |
| download | emacs-92bb6c52b7e92a9f1dd772785633a3796b211e4f.tar.gz emacs-92bb6c52b7e92a9f1dd772785633a3796b211e4f.zip | |
* misc.texi (Document View): Update DocView section with newly
supported document formats.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/misc.texi | 35 |
2 files changed, 28 insertions, 12 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 23a05240162..ba2156bd745 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-12-30 Tassilo Horn <tassilo@member.fsf.org> | ||
| 2 | |||
| 3 | * misc.texi (Document View): Update DocView section with newly | ||
| 4 | supported document formats. | ||
| 5 | |||
| 1 | 2010-12-21 Chong Yidong <cyd@stupidchicken.com> | 6 | 2010-12-21 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * killing.texi: Resection the Info version to conform to the | 8 | * killing.texi: Resection the Info version to conform to the |
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 11d6ad70e62..0ead2b53c21 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -27,28 +27,39 @@ other editors, and various diversions and amusements. | |||
| 27 | @cindex PDF file | 27 | @cindex PDF file |
| 28 | @cindex PS file | 28 | @cindex PS file |
| 29 | @cindex Postscript file | 29 | @cindex Postscript file |
| 30 | @cindex OpenDocument file | ||
| 31 | @cindex Microsoft Office file | ||
| 30 | @cindex DocView mode | 32 | @cindex DocView mode |
| 31 | @cindex mode, DocView | 33 | @cindex mode, DocView |
| 32 | @cindex document viewer (DocView) | 34 | @cindex document viewer (DocView) |
| 33 | @findex doc-view-mode | 35 | @findex doc-view-mode |
| 34 | 36 | ||
| 35 | DocView mode (@code{doc-view-mode}) is a viewer for DVI, Postscript | 37 | DocView mode (@code{doc-view-mode}) is a viewer for DVI, Postscript |
| 36 | (PS), and PDF documents. It provides features such as slicing, | 38 | (PS), PDF, OpenDocument, and Microsoft Office documents. It provides |
| 37 | zooming, and searching inside documents. It works by converting the | 39 | features such as slicing, zooming, and searching inside documents. It |
| 38 | document to a set of images using the @command{gs} (GhostScript) | 40 | works by converting the document to a set of images using the |
| 39 | command, and displaying those images. | 41 | @command{gs} (GhostScript) command and other external tools |
| 42 | @footnote{@code{gs} is a hard requirement. For DVI files, | ||
| 43 | @code{dvipdf} or @code{dvipdfm} is needed. For OpenDocument and | ||
| 44 | Microsoft Office documents, the @code{unoconv} tool is needed.}, and | ||
| 45 | displaying those images. | ||
| 40 | 46 | ||
| 41 | @findex doc-view-toggle-display | 47 | @findex doc-view-toggle-display |
| 42 | @findex doc-view-toggle-display | 48 | @findex doc-view-toggle-display |
| 43 | @cindex doc-view-minor-mode | 49 | @cindex doc-view-minor-mode |
| 44 | When you visit a PDF or DVI file, Emacs automatically switches to | 50 | When you visit a document file with the exception of Postscript |
| 45 | DocView mode. When you visit a Postscript file, Emacs switches to PS | 51 | files, Emacs automatically switches to DocView mode if possible |
| 46 | mode, a major mode for editing Postscript files as text; however, it | 52 | @footnote{The needed external tools for this document type have to be |
| 47 | also enables DocView minor mode, so you can type @kbd{C-c C-c} to view | 53 | available, emacs needs to run in a graphical frame, and PNG image |
| 48 | the document with DocView. (PDF and DVI files, unlike Postscript | 54 | support has to be compiled into emacs. If any of these requirements |
| 49 | files, are not usually human-editable.) In either case, repeating | 55 | is not fulfilled, DocView falls back to an appropriate mode.}. When |
| 50 | @kbd{C-c C-c} (@code{doc-view-toggle-display}) toggles between DocView | 56 | you visit a Postscript file, Emacs switches to PS mode, a major mode |
| 51 | and the file text. | 57 | for editing Postscript files as text; however, it also enables DocView |
| 58 | minor mode, so you can type @kbd{C-c C-c} to view the document with | ||
| 59 | DocView. (PDF and DVI files, unlike Postscript files, are not usually | ||
| 60 | human-editable.) In either case, repeating @kbd{C-c C-c} | ||
| 61 | (@code{doc-view-toggle-display}) toggles between DocView and the file | ||
| 62 | text. | ||
| 52 | 63 | ||
| 53 | You can explicitly toggle DocView mode with the command @code{M-x | 64 | You can explicitly toggle DocView mode with the command @code{M-x |
| 54 | doc-view-mode}, and DocView minor mode with the command @code{M-x | 65 | doc-view-mode}, and DocView minor mode with the command @code{M-x |