bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PDF bookmark issues


From: Nate Whetsell
Subject: PDF bookmark issues
Date: Sun, 27 Feb 2022 06:14:49 -0500

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]