PDF bookmarks without table of contents: Difference between revisions
Create |
mNo edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
There is currently no built-in way to obtain an outline in the PDF metadata without also printing a table of contents (see {{Issue|6300}}). This snippet provides a workaround. | |||
<lilypond version="2.24 | Note that you have to compile the snippet by yourself to get a PDF so that you can see the bookmarks. | ||
<lilypond version="2.24"> | |||
#(define-markup-list-command (invisible-table-of-contents layout props) () | #(define-markup-list-command (invisible-table-of-contents layout props) () | ||
(interpret-markup-list layout props (make-table-of-contents-markup-list)) | (interpret-markup-list layout props (make-table-of-contents-markup-list)) | ||
| Line 16: | Line 18: | ||
[[Category:Workaround]] | [[Category:Workaround]] | ||
[[Category:Snippet]] | |||