PDF bookmarks don't work with bookparts
As soon as there are any bookparts in a file, PDF bookmarks aren't created from the TOC. For example, the output from this code is OK visually but the PDF doesn't have bookmarks:
\version "2.23.10"
\markuplist \table-of-contents
\tocItem \markup "a"
{ c' }
\bookpart { { d' } }
My understanding is that \markuplist \table-of-contents
gets interpreted in an implicitly created bookpart here, and since it has the role of setting the label-alist-table
in the output def for later consumption in framework-ps.scm
, the label-alist-table
gets set in a bookpart-level output def and not in the top book output def, where the code creating bookmarks searches for it.