Re: [NTG-context] Table of Contents empty for unknown reason
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 ___
[NTG-context] Table of Contents empty for unknown reason
I need to display a table of contents, but only displaying chapters. Here is my minimum working example: \starttext \startfrontmatter \startchapter[title={Contents}] \placelist[chapter] \stopchapter \completecontent \stopfrontmatter \startbodymatter \startchapter[title={Title 1}] \input knuth \stopchapter \stopbodymatter \stoptext For reasons I don't understand, both \placelist[chapter] and \completecontent display the title, but are otherwise empty of contents. I believe the code was working before an update. I used ConTeXt live though and confirmed this code even doesn't work there. Why isn't it rendering the table of contents? --Joel ___ 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 ___