Le 27/02/2022 à 12:14, Nate Whetsell a écrit :
Thanks for all your work on LilyPond! PDF bookmark support was added in LilyPond 2.22, but there seems to be a number of issues. • If several bookmarks occur on the same page, the order of the bookmarks is reversed. • Bookmarks always seems to be placed at the top of the page on which they occur (so if a bookmark is associated with a piece that begins at the bottom of a page, navigating to the bookmark will get close to that piece, but not exactly there). • It doesn’t seem to be possible to add bookmarks without also using `\markuplist \table-of-contents` to add a table of contents. I also posted this to lilypond-user (https://lists.gnu.org/archive/html/lilypond-user/2022-02/msg00026.html), but it doesn’t seem like there are currently any solutions to these issues. Here’s an example illustrating the bookmark issues: ``` \version "2.22.0" \markuplist \table-of-contents #(do ((study-number 1 (1+ study-number))) ((> study-number 15)) (add-score #{ \score { \header { piece = #(number->string study-number) } \new Staff << \tocItem \markup { #(number->string study-number) } { c' } >> }#})) ``` I also tried this using the latest version from the Git repo, and the behavior is the same. All the best, Nate
Opened issues https://gitlab.com/lilypond/lilypond/-/issues/6298 https://gitlab.com/lilypond/lilypond/-/issues/6299 https://gitlab.com/lilypond/lilypond/-/issues/6300 The first one could be a good first issue. Best, Jean _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond