[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No pdf marks with bookparts?
From: |
David Kastrup |
Subject: |
Re: No pdf marks with bookparts? |
Date: |
Sat, 01 Aug 2020 23:08:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
David Kastrup <dak@gnu.org> writes:
> Thomas Morley <thomasmorley65@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