David Kastrup <d...@gnu.org> writes: > Thomas Morley <thomasmorle...@gmail.com> writes: > >> Hi, >> >> the following code generates outlined nested pdf-marks, see attached. >> >> \version "2.21.4" >> >> \book { >> \markuplist \table-of-contents >> \tocItem x #"foo" >> \tocItem x.y #"foo-1" >> { R1 } >> } >> >> Though, if I switch from \book to \bookpart pdf-marks are gone (while >> the table-of-content is still unaffected). > > Wouldn't that warrant putting the \bookpart inside of a \book? That's > sort of it's point, isn't it?
By the way, that isn't a rhetorical question. Not being able to figure out the intent of the difference between \book and \bookpart is part of the reason I have not implemented interpreting a book/bookpart from a variable or scheme function at top level. -- David Kastrup