|
From: | Jean Abou Samra |
Subject: | Re: PDF Bookmarks |
Date: | Fri, 27 May 2022 10:16:35 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
Le 27/05/2022 à 10:12, Jean Abou Samra a écrit :
Le 27/05/2022 à 10:08, Mark Probert a écrit :Hi. I note in the documentation for LP 2.22 that "PDF bookmarks are now supported and allow for \tocItems entries to appear..." Is there anything I need to do to make this happen? Or is on by default? I ask because in my environment--Mac M1 OS11.6, LP 2.22.1--I generate the PDF, with ToC, fine but there are no entries shown within Preview (Which I believe does support bookmarks). Any help appreciated. TIA .. mark.No, that should be sufficient. Can you send the input code and resulting PDF file? It may be that your PDF viewer simply does not support bookmarks. Jean
Ah… Actually, I guess what might be going on. Are you using a version of LilyPond that uses Guile 2? Homebrew, for example? What does #(display (version)) print? LilyPond has a bug in Guile 2 where the nesting of generated bookmarks is incorrect. See https://gitlab.com/lilypond/lilypond/-/issues/6302 It's possible to work around it by editing the file ly/toc-init.ly in the LilyPond installation to change the line (children . ()) into (cons 'children '()) Best, Jean
[Prev in Thread] | Current Thread | [Next in Thread] |