Alan Bowen schrieb am 30.03.2024 um 20:59:
How can I get the last page number of a chapter for a list (ToC)?
Outside of a list, I use \lastpagenumber.
But that does not work in a list such as the ToC.
Any tips or pointers will be gladly received.
You can try this:
\definepagestate[alanpage]
Hi, Bruce—
This does not quite work—the page numbers are those of the first page of
the chapter, not the last. But thanks for the tip about \writetolist.
Perhaps I can get that to work.
What I need are ToC entries like
AuthorName
ShortTitle 1–6
I need this pagination
> On 30 Mar 2024, at 19:59, Alan Bowen wrote:
>
> How can I get the last page number of a chapter for a list (ToC)?
>
> Outside of a list, I use \lastpagenumber.
> But that does not work in a list such as the ToC.
>
> Any tips or pointers will be gladly received.
I'm not quite sure what