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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________