[Top][All Lists]

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

Re: PDF bookmark issues

From: Jean Abou Samra
Subject: Re: PDF bookmark issues
Date: Sun, 27 Feb 2022 16:21:03 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

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 

• 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,

Opened issues

The first one could be a good first issue.


reply via email to

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