Am 06.12.2013 um 14:59 schrieb H. van der Meer
The table of contents results from:
\startfrontmatter \input front \let\ChapterTOC\relax % Only then chapters typeset !? \completecontent \stopfrontmatter
The table of contents is typeset from the completecontent, so I guess the answer to your question will be \setuplist.
There I have set
\setupcombinedlist[content][list=chapter]% [list={chapter,section}] \setupcombinedlist[section][list=section]
Why I have to use \let\ChapterTOC\relax is a riddle to me. I want the main toc giving the chapters, whereas in the seperate chapters the sections therin should appear in their own toc.
Which numbers are wrong, the section numbers or the page numbers? \starttext \title{Table of contents} \placecontent[list=chapter] \dorecurse{20} {\chapter{Chapter #1} \placecontent % lists are local unless you use criterium=all \dorecurse{5} {\section{Section #1.##1}}} \stoptext Wolfgang