diff options
| author | Visuwesh | 2024-10-09 19:36:18 +0530 |
|---|---|---|
| committer | Tassilo Horn | 2024-10-10 12:33:06 +0200 |
| commit | 9ddeeda8ce156201ea3c8cc8d6b388efb4d80bef (patch) | |
| tree | d948706d4b34d540d85f01d34dcd29366cdf696e /doc | |
| parent | 58bcd1dbe0b70a331747ccfd2f9e5cf8790849a1 (diff) | |
| download | emacs-9ddeeda8ce156201ea3c8cc8d6b388efb4d80bef.tar.gz emacs-9ddeeda8ce156201ea3c8cc8d6b388efb4d80bef.zip | |
Add imenu support for ODF files in doc-view
* lisp/doc-view.el (doc-view--outline): Pass the right file to
doc-view--pdf-outline.
* doc/emacs/misc.texi (DocView Navigation): Mention support for
Open Format Document (ODF) files too.
* etc/NEWS: Announce the change. (bug#73719)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/misc.texi | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 83b83ea7ae9..f618dadc0d6 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -586,12 +586,15 @@ default size for DocView, customize the variable | |||
| 586 | @vindex doc-view-djvused-program | 586 | @vindex doc-view-djvused-program |
| 587 | DocView can generate an outline menu for PDF and DjVu documents using | 587 | DocView can generate an outline menu for PDF and DjVu documents using |
| 588 | the @command{mutool} and the @command{djvused} programs, respectively, | 588 | the @command{mutool} and the @command{djvused} programs, respectively, |
| 589 | when they are available. This uses the @code{imenu} facility | 589 | when they are available. The outline for Open Document Format files as |
| 590 | (@pxref{Imenu}). You can customize how the @code{imenu} items for this | 590 | used by OpenOffice and LibreOffice are also generated using the |
| 591 | outline are formatted and displayed using the variables | 591 | @command{mutool} after they are converted to PDF. This uses the |
| 592 | @code{doc-view-imenu-format} and @code{doc-view-imenu-flatten}. The | 592 | @code{imenu} facility (@pxref{Imenu}). You can customize how the |
| 593 | filename of the @command{djvused} program can be customized by changing | 593 | @code{imenu} items for this outline are formatted and displayed using |
| 594 | the @code{doc-view-djvused-program} user option. | 594 | the variables @code{doc-view-imenu-format} and |
| 595 | @code{doc-view-imenu-flatten}. The filename of the @command{djvused} | ||
| 596 | program can be customized by changing the | ||
| 597 | @code{doc-view-djvused-program} user option. | ||
| 595 | 598 | ||
| 596 | @cindex registers, in DocView mode | 599 | @cindex registers, in DocView mode |
| 597 | @findex doc-view-page-to-register | 600 | @findex doc-view-page-to-register |