mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
docview: Fix outline generation using mupdf
This script no longer works as of mupdf version 1.27.2. This new value works for mupdf version 1.28.0, 1.27.2, 1.26.8, and 1.25.2. * lisp/doc-view.el (doc-view--mutool-pdf-outline-script): Modify value to one that works.
This commit is contained in:
parent
ca0a913a73
commit
dbd3088c10
|
|
@ -1977,7 +1977,7 @@ It can be the symbol `unavailable' to indicate that outline is
|
|||
unavailable for the document.")
|
||||
|
||||
(defvar doc-view--mutool-pdf-outline-script
|
||||
"var document = new Document.openDocument(\"%s\", \"application/pdf\");
|
||||
"var document = new mupdf.Document.openDocument(\"%s\");
|
||||
var outline = document.loadOutline();
|
||||
if(!outline) quit();
|
||||
function pp(outl, level){print(\"((level . \" + level + \")\");\
|
||||
|
|
|
|||
Loading…
Reference in a new issue