Working on my first TOC I was looking at Bill McClain's "ConTeXt and pdfTeX Beginners Help Page", and its example on TOCs with different entries. I copied and pasted his example, but what should be like this:
Contents
Introduction to the Annotated Edition * 5
Preface * 12
1 * The Windows of Absolute Night * 15
is in fact:
Contents
Introduction to the Annotated Edition * 5
Preface * 12
3 * The Windows of Absolute Night * 15 <- "3" !
(the unnumbered headings *are* numbered) So I tried something different: \definehead[LevelOneEmpty][chapter] \setuphead[LevelOneEmpty][number=no] \definehead[LevelOne[chapter] \setuphead[LevelOne][number=yes] \definehead[LevelTwo][section] \definehead[LevelThree][subsection] \starttext \definecombinedlist [content] [LevelOneEmpty,LevelOne,LevelTwo, LevelThree] \setupcombinedlist [content][alternative=b,aligntitle=no,width=2.5em] \completecontent[way=bytext] \LevelOneEmpty{Introduction} ... \LevelOne{First real Chapter} But the result is the same:
Contents
Introduction...
2 First real Chapter
A last try with the following changed: \definehead[LevelOneEmpty][title] was even worse: "Introduction" doesn't appear at all in the TOC. So what is the right way? I'd be happy for any hint. Steffen