9 Jul
2012
9 Jul
'12
12:10 p.m.
Am 09.07.2012 um 11:54 schrieb Wolfgang Schuster:
I tried \completecontent[criterium={chapter,section}] bat that doesn't work. Could not find it on the wiki, but I might have missed the right search term.
The list archive should contain dozens of answers to this question but here it is again.
\starttext
\title{Contents} % use \title{\headtext{content}} to get a language dependent title \placelist[chapter,section]
…
\stoptext
or
\definecombinedlist[content][chapter,section]
\starttext
\completecontent
…
\stoptext
There two additional ways with the new code. \setupcombinedlist[content][list={chapter,section}] \starttext \completecontent … \stoptext and \starttext \completecontent[list={chapter,section}] … \stoptext Wolfgang