Hi Alan,
Try attached example.tex.

Best regards,
Joshua

On Mon, 19 Oct 2009, Alan BRASLAU wrote:

> Hello,
> 
> I did not understand that this be the answer to the question,
> but, of course, I cannot contradict he who posted the question
> in the beginning. However, I understood that Thomas still wanted
> chapters to be numbered, but that sections be numbered independently.
> 
> In my case, I have been struggling to have parts numbered
> (I, II, III, IV) and to have chapters numbered independently
> (1, 2, 3, 4, ...), such as:
> 
> Part I
>  Chapter 1
>  Chapter 2
> Part II
>  Chapter 3
>  Chapter 4
> Part III
>  Chapter 5
> 
> For this, I have
> 
> \setuplabeltext[chapter=Chapter ] % By default, blank when using \part
> \doifmodeelse{mkiv}{
>         \setupstructureheads[sectionsegments=2:100]
>         \setupstructurehead[part][resetnumber=no,placehead=yes]
> }{ % mkii
>         \setuplist[chapter,section,subsection,subsubsection][partnumber=no]
> }
> 
> but this is not quite right (works fine in mkii):
> - the parts are not numbered
> - the chapters are numbered 1, 2, 1, 2, 1, ...
> 
> I have not yet figured this out (another problem kept me from
> using mkiv on this problem, resolved only recently).
> 
> Alan
> 
> On Monday 19 October 2009 16:28:10 Thomas A. Schmitz wrote:
> > On Oct 19, 2009, at 4:10 PM, Wolfgang Schuster wrote:
> > > \setuphead
> > >  [section]
> > >  [sectionsegments=3:100] % show only the numbers for level 3
> > > (=section) till 100 (subsubsub...section)
> > >
> > > Wolfgang
> > 
> > Thank you Wolfgang, that does it! At the risk of sounding like a
> > crybaby: would one of the two people who have understood how the new
> > structure code works please add some documentation somewhere? Just
> > imagine what would happen if Hans and Wolfgang were struck by
> > lightning on the same day :-)
> > 
> > Thanks, and all best
> > 
> > Thomas
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

-- 
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

Attachment: example.tex
Description: TeX document

___________________________________________________________________________________
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