![](https://secure.gravatar.com/avatar/a975c3bd6563c759ef212cd258d238d6.jpg?s=120&d=mm&r=g)
Hi Guys, Here's a little example, \setupcolors[state=start] \starttext \completecontent \part{First Part} \chapter{First Chapter} \chapter{Second Chapter} \part{Second Part} \chapter{Third Chapter} \chapter{Chapter 4} \stoptext I would like to show the chapter number 1,2,3,4.. instead of 1.1,1.2,2.1,2.2 .. how to do it? Thanks. Best regards, Joshua
![](https://secure.gravatar.com/avatar/fec2c6c0f8a3ab55fab9c46ffafa9c6d.jpg?s=120&d=mm&r=g)
On Sat, Sep 19, 2009 at 4:13 PM, Joshua Lee
Hi Guys, Here's a little example, \setupcolors[state=start]
\setuphead[chapter][sectionsegments=2:100]
\starttext
\completecontent \part{First Part} \chapter{First Chapter} \chapter{Second Chapter} \part{Second Part} \chapter{Third Chapter} \chapter{Chapter 4} \stoptext
I would like to show the chapter number 1,2,3,4.. instead of 1.1,1.2,2.1,2.2 .. how to do it?
Read http://www.opensubscriber.com/message/ntg-context@ntg.nl/12416208.html
![](https://secure.gravatar.com/avatar/a975c3bd6563c759ef212cd258d238d6.jpg?s=120&d=mm&r=g)
Hi Derek, I write a little example, there's still a little issue. The chapter number start with 1 for part II, how to make it continue from part I. Thanks. Best regards, Joshua On Sat, 19 Sep 2009, Derek CORDEIRO wrote:
On Sat, Sep 19, 2009 at 4:13 PM, Joshua Lee
wrote: Hi Guys, Here's a little example, \setupcolors[state=start]
\setuphead[chapter][sectionsegments=2:100]
\starttext
\completecontent \part{First Part} \chapter{First Chapter} \chapter{Second Chapter} \part{Second Part} \chapter{Third Chapter} \chapter{Chapter 4} \stoptext
I would like to show the chapter number 1,2,3,4.. instead of 1.1,1.2,2.1,2.2 .. how to do it?
Read http://www.opensubscriber.com/message/ntg-context@ntg.nl/12416208.html
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- Joshua Lee Alpha Networks(Chengdu) Co., LTD Shanghai Branch TEL: (86-21)61609650 EXT: 8020 FAX: (86-21)61609650 EXT: 8041 ADD: Suite 301, No.10, 198 Lane, Zhangheng Road, ZJ Hi-Tech Park, Shanghai, China 201204
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 21.09.2009 um 17:40 schrieb Joshua Lee:
Hi Derek, I write a little example, there's still a little issue. The chapter number start with 1 for part II, how to make it continue from part I.
\definestructureresetset[default][0,0][1] \setuphead[part][sectionresetset=default] Wolfgang
![](https://secure.gravatar.com/avatar/a975c3bd6563c759ef212cd258d238d6.jpg?s=120&d=mm&r=g)
Hi Wolfgang, It works, thanks for your quick response. Best regards, Joshua On Mon, 21 Sep 2009, Wolfgang Schuster wrote:
Am 21.09.2009 um 17:40 schrieb Joshua Lee:
Hi Derek, I write a little example, there's still a little issue. The chapter number start with 1 for part II, how to make it continue from part I.
\definestructureresetset[default][0,0][1]
\setuphead[part][sectionresetset=default]
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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- Joshua Lee Alpha Networks(Chengdu) Co., LTD Shanghai Branch TEL: (86-21)61609650 EXT: 8020 FAX: (86-21)61609650 EXT: 8041 ADD: Suite 301, No.10, 198 Lane, Zhangheng Road, ZJ Hi-Tech Park, Shanghai, China 201204
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
Hi Wolfgang, On Mon, 21 Sep 2009, Wolfgang Schuster wrote:
Am 21.09.2009 um 17:40 schrieb Joshua Lee:
Hi Derek, I write a little example, there's still a little issue. The chapter number start with 1 for part II, how to make it continue from part I.
\definestructureresetset[default][0,0][1]
\setuphead[part][sectionresetset=default]
Can you (or someone else) explain how the new numbering mechanism works? I have looked at the examples posted in this and other threads, and I do not understand how things work. Aditya
participants (4)
-
Aditya Mahajan
-
Derek CORDEIRO
-
Joshua Lee
-
Wolfgang Schuster