aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorVisuwesh2024-10-06 18:02:06 +0530
committerTassilo Horn2024-10-08 17:38:35 +0200
commit44aa385b9afe2f2d500f62fd679314150e859d77 (patch)
tree6a24c612785dfcbde26b0824d654533530ab82c7 /src/coding.c
parent9af36e70f83d00eaef2255929e8aed7e1d3ed5b9 (diff)
downloademacs-44aa385b9afe2f2d500f62fd679314150e859d77.tar.gz
emacs-44aa385b9afe2f2d500f62fd679314150e859d77.zip
Make imenu index generation for PDFs more reliable
Do away with parsing the output of "mutool show FILE outline" since the URI reported in its output may not include the page number of the heading, and instead may contained "nameddest" elements which cannot be resolved using "mutool". Instead, use a MuPDF JS script to generate the PDF outline allowing to resolve such URIs. * lisp/doc-view.el (doc-view--outline-rx): Remove as no longer needed. (doc-view--outline): Reflect that outline can be generated for non-PDF files too. (doc-view--mutool-pdf-outline-script): Add new variable to hold the JS script used to generate the outline. (doc-view--pdf-outline): Use the script. (bug#73638)
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions