ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* structure: project, product, structureresetset, ...
@ 2013-03-25 15:29 Alan BRASLAU
  2013-03-25 17:45 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Alan BRASLAU @ 2013-03-25 15:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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! :)

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: structure: project, product, structureresetset, ...
  2013-03-25 15:29 structure: project, product, structureresetset, Alan BRASLAU
@ 2013-03-25 17:45 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2013-03-25 17:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 25.03.2013 um 16:29 schrieb Alan BRASLAU <alan.braslau@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-25 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-25 15:29 structure: project, product, structureresetset, Alan BRASLAU
2013-03-25 17:45 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).