[NTG-context] Table of Contents empty for unknown reason
Aditya Mahajan
adityam at umich.edu
Tue Jun 14 07:34:29 CEST 2022
On Sun, 12 Jun 2022, Joel via ntg-context wrote:
> I need to display a table of contents, but only displaying chapters.
>
> Here is my minimum working example:
You need to add "criterium=all" to both placelist and completecontent. See below:
> \starttext
> \startfrontmatter
> \startchapter[title={Contents}]
> \placelist[chapter][criterium=all]
> \stopchapter
> \completecontent[criterium=all]
> \stopfrontmatter
> \startbodymatter
> \startchapter[title={Title 1}]
> \input knuth
> \stopchapter
> \stopbodymatter
>
> \stoptext
Aditya
More information about the ntg-context
mailing list