incrementnumber of part vs. not showing up in table of contents
Hi, When i \setuphead[part][incrementnumber=no] so that all the chapter numbering will be continuous, the part doesn't show up in my Table of Contents. when i change it to 'yes' or remove incrementnumber, the part shows up in the ToC, but the chapters are now reset to 1 at each part break. I want to have the parts show up in the ToC, but not have chapter numbers reset to 1 at each part. %%%%%%%%sample, change incrementnumber=yes | no \setuphead[part] [incrementnumber=no] \setuphead [chapter] [number=yes] \placecontent \starttext \part{one} \chapter{c1} \input tufte \chapter{c2} \input tufte \part{two} \chapter{c3} \input tufte \stoptext %%%%%%%end test thanks, mark ps - is there a difference for this list between using \input tufte and \input knuth?
At 14:39 24/04/2003 -0700, you wrote:
Hi, When i \setuphead[part][incrementnumber=no] so that all the chapter numbering will be continuous, the part doesn't show up in my Table of Contents. when i change it to 'yes' or remove incrementnumber, the part shows up in the ToC, but the chapters are now reset to 1 at each part break.
I want to have the parts show up in the ToC, but not have chapter numbers reset to 1 at each part.
%%%%%%%%sample, change incrementnumber=yes | no \setuphead[part] [incrementnumber=no]
\setuphead [chapter] [number=yes]
\placecontent
\starttext
\part{one} \chapter{c1} \input tufte \chapter{c2} \input tufte \part{two} \chapter{c3} \input tufte
\stoptext %%%%%%%end test
remind me next week and i'll add an option to continue numbering Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
Hi, For the archives, i wanted to document the solution (see below for the original problem) that Hans whipped up. In this example below, we add merely one line: resetnumber=no As of May 1, 2003, you probably need the new beta, but in the future, this feature will probably be in the general release. If anyone needs this right away, i have the two files that Hans sent me, and i will forward them to you. Thanks Hans! Cheers, mark Here is a test file. %%%%%%%%sample, addition of resetnumber=no property \setuphead[part] [incrementnumber=yes, resetnumber=no] \setuphead [chapter] [number=yes] \placecontent \starttext \part{one} \chapter{c1} \input tufte \chapter{c2} \input tufte \part{two} \chapter{c3} \input tufte \stoptext %%%%%%%end test At 08:54 PM 4/29/2003 +0200, you wrote:
At 14:39 24/04/2003 -0700, you wrote:
Hi, When i \setuphead[part][incrementnumber=no] so that all the chapter numbering will be continuous, the part doesn't show up in my Table of Contents. when i change it to 'yes' or remove incrementnumber, the part shows up in the ToC, but the chapters are now reset to 1 at each part break.
I want to have the parts show up in the ToC, but not have chapter numbers reset to 1 at each part.
%%%%%%%%sample, change incrementnumber=yes | no \setuphead[part] [incrementnumber=no]
\setuphead [chapter] [number=yes]
\placecontent
\starttext
\part{one} \chapter{c1} \input tufte \chapter{c2} \input tufte \part{two} \chapter{c3} \input tufte
\stoptext %%%%%%%end test
remind me next week and i'll add an option to continue numbering
Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
participants (3)
-
Hans Hagen
-
Mark A. Lilly
-
Mark A. Lilly