Which numbers are wrong, the section numbers or the page numbers?

The chapter numbers. See the jpg below. The 10 with its separator  is too far to the right.

Hans van der Meer


On 6 dec. 2013, at 15:13, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote:


Am 06.12.2013 um 14:59 schrieb H. van der Meer <h.vanderm...@uva.nl>:

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
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to