[NTG-context] Chapter numbering that does not follow a regular pattern

Henning Hraban Ramm texml at fiee.net
Mon Jul 13 09:13:38 CEST 2020



> Am 13.07.2020 um 02:23 schrieb jbf <roma83537 at gmail.com>:
> 
> Hi there,
> 
> I have a situation where numbered chapters are occasionally interspersed with unnumbered chapters, so, for example, it might be:
> 
> 1 First chapter title with number
> 
>   second chapter title unnumbered
> 
> 2 Second chapter title with  number
> 
> 3 Third chapter title with number

Use \title (or \starttitle[title={}]) for unnumbered and \chapter (\startchaper) for numbered.

If you need the unnumbered chapters in your ToC, you must add them like \setupcombinedlist[content][list={chapter,title}]

You can setup most options for both using \setuphead[chapter,title][...]

HTH

Hraban


More information about the ntg-context mailing list