From: jbf <roma83537@gmail.com>
To: Max Chernoff <mseven@telus.net>,
mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter
Date: Tue, 5 Sep 2023 08:50:32 +1000 [thread overview]
Message-ID: <53bfd2ce-e14b-b6a3-e3bb-9fc33bbeeb97@gmail.com> (raw)
In-Reply-To: <4379a82c71c9ad272d4c380397e7fb3fbc831f72.camel@telus.net>
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
___________________________________________________________________________________
prev parent reply other threads:[~2023-09-04 22:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-04 6:34 [NTG-context] " jbf
2023-09-04 6:48 ` [NTG-context] " Wolfgang Schuster
2023-09-04 22:43 ` Max Chernoff
2023-09-04 22:50 ` jbf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53bfd2ce-e14b-b6a3-e3bb-9fc33bbeeb97@gmail.com \
--to=roma83537@gmail.com \
--cc=mseven@telus.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).