[NTG-context] Continuous chapter numbering

Hans Hagen Test pragma at wxs.nl
Tue Oct 25 00:59:46 CEST 2005


Randall Skelton wrote:

>
> Is there a way to have the chapter numbers be continuous rather than 
> resetting at the beginning of each product?  I have already disabled 
> product numbers in a setupheader command but I'm stumped at how to 
> make the chapter numbers continuous.  I've tried playing with 
> "incrementnumber=file" but I'm not sure this appropraite... any hints 
> here would be greatly appreciated.

\setuphead[chapter][resetnumber=no]

\starttext
    \chapter{test}
    \section{foo}
    \section{bar}
    \chapter{test}
    \section{foo}
    \section{bar}
\stoptext

should work with part as well

Hans


More information about the ntg-context mailing list