From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13266 Path: main.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Does Bill McClain's TOC work? Date: Tue, 16 Sep 2003 16:05:03 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Trace: sea.gmane.org 1063721505 10793 80.91.224.253 (16 Sep 2003 14:11:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Sep 2003 14:11:45 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Sep 16 16:11:43 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19zGYR-0001sD-00 for ; Tue, 16 Sep 2003 16:11:43 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id D22E910B75; Tue, 16 Sep 2003 16:11:40 +0200 (MEST) Original-Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [62.67.200.156]) by ref.ntg.nl (Postfix) with ESMTP id 43B0F10B27 for ; Tue, 16 Sep 2003 16:05:07 +0200 (MEST) Original-Received: (qmail 739 invoked from network); 16 Sep 2003 14:05:02 -0000 Original-Received: from unknown (HELO [217.184.8.79]) (664943@[217.184.12.87]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 16 Sep 2003 14:05:02 -0000 X-Sender: 664943@pop3.estfiles.de Original-To: ntg-context@ntg.nl Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13266 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13266 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