Hello! I've noticed a bug (I guess it is one, right?) with regards to the
table of contents: when writing with no bookpart block, the pdf bookmarks
are exported to file correctly. They appear in any PDF viewer. However, the
same doesn't happen while using the bookpart block: everything works normal
except for the absence of PDF bookmarks.


%%
%%HelpWnated_1_OnlyBookBlock.ly
%%
\version "2.25.20"
someNiceMusic = \relative c' {d8 e f g e4 c8 d}
\book { % In this book there will be pdf bookmarks.
\bookOutputName "Only Book"
\markuplist \table-of-contents
\pageBreak
\tocItem \markup "That's some nice music!"
\markup "That's some nice music!"
\score {\someNiceMusic}
\pageBreak
\tocItem \markup "More nice music? Yes, please!"
\markup "More nice music? Yes, please!"
\score {\someNiceMusic}
} % end of book
%%
%%EOF

%%
%%HelpWnated__WithBookpart.ly
%%
\version "2.25.20"
someNiceMusic = \relative c' {d8 e f g e4 c8 d}
\book { % In this book there will be pdf bookmarks.
\bookOutputName "With Bookparts"
\bookpart { \markuplist \table-of-contents }
\bookpart {
  \tocItem \markup "That's some nice music!"
  \markup "That's some nice music!"
  \score {\someNiceMusic}
} % end of bookpart
\bookpart {
  \tocItem \markup "More nice music? Yes, please!"
  \markup "More nice music? Yes, please!"
  \score {\someNiceMusic}
} % end of bookpart
} % end of book
%%
%%EOF

Reply via email to