Am 25.03.2013 um 16:29 schrieb Alan BRASLAU <alan.bras...@cea.fr>:

> Hello,
> 
> I have a *project* that consists of a book in 3 volumes.
> Each volume is a *part*.
> Each volume or part has a (recto-verso) title page.
> Each volume or part also has front and back matter: table of contents, 
> bibliography, index, ...
> Each volume or part also has *appendices*
> 
> Thus, I have 3 *products* corresponding to the three volumes.
> Each product has *components*: chapters, appendices, ...
> 
> Now, I would like the second volume to know that it is Part II and the third 
> volume to know that it is Part III.
> I would also like to continue the chapter numbering in succession in each 
> volume:
> i.e. 1, 2, 3 in Part I; 4, 5, 6 in Part II; 7, 8, 9 in Part III.
> Furthermore, I would like the appendices to do likewise:
> i.e. A, B in Part I; C, D, and E in Part II; F in Part III.
> 
> Of course, I need to specify in my *environment* 
> 
> \definestructureresetset [default] [0,0] [1]
> \setuphead [part] [sectionresetset=default,conversion=Romannumerals]
> 
> But... how do I propagate the numbering from product to product, that is part 
> to part?
> Everything was just fine when all of the parts were collected into a single 
> product
> having a unique front and back matter and all of the appendices at the end...
> 
> It should be simple, but sometimes I fail to see the obvious! :)

\startsectionblockenvironment[bodypart]
\setupheadnumber[chapter][6]
\stopsectionblockenvironment

\startsectionblockenvironment[appendix]
\setupheadnumber[chapter][2]
\stopsectionblockenvironment

\starttext

\startbodymatter
\chapter{Chapter}
\stopbodymatter

\startappendices
\chapter{Appendix}
\stopappendices

\stoptext

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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to