That's kind of you Max, and I will definitely take a look at that, both
for the current book I am working on, but also for the variations it can
offer for other titles.
In the meantime, Wolfgang gently reminded me that I had overlooked one
various obvious (and simple) approach using alternative=d, which I
confess I had entirely overlooked!
Julian
On 5/9/23 08:43, Max Chernoff wrote:
Hi Julian,
I am attempting to get a TOC that looks like the following (in other
words with section titles and their relative page numbers in a block
below the chapter):
Has
anyone put together a TOC of this kind and might be able to give me a
hint to follow?
This is fairly close to what you're looking for I think (the manual, not
the package itself):
http://mirrors.ctan.org/macros/luatex/generic/lua-widow-control/lua-widow-control.pdf
The source is a little messy, but I've used it in a bunch of other
documents and it seems fairly robust:
https://github.com/gucci-on-fleek/lua-widow-control/blob/7c4544/docs/manual/lwc-manual.mkxl#L167-L234
There aren't any page numbers for the subsections in that, but you
should be able to add those inside the definition of
\SubsectionTOCcommand with either #3 or \currentlistentrypagenumber.
Thanks,
-- Max
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________