14 Jun
2022
14 Jun
'22
5:34 a.m.
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