Ulf Martin wrote:
> Dear ConTeXt Experts
>
> I am still sometimes confused about how to set up simple things...
>
> I want to have a subsection level head type ("topic") with a numbering 
> that runs undependently from the section numbering, like so:
>
> 1. First Topic
> ...
>
> I. Section One
> ...
>
> 2. Second Topic
> ...
>
> 3. Third Topic
> ...
>
> 4. Fourth Topic
> ...
>
> II. Section Two
>
> 5. Fifth Topic
> ...
>
> 6. Sixth Topic
> ...
>
> III. Section Three
> ...
>
> And so on.
>
> ConTeXtgarden, the manual, etc. show in great detail how to set up the 
> /appearence/ of head parts (incl. numbercommand), but I cannot find an 
> explanation of the handling of the LaTeX equivalent to counters (their 
> definition, incrementing, resetting, etc.). The explanation of 
> \setupheadnumber in the manual (p. 172) is quite obscure to me -- how do 
> I specify that I do not want higher levels of head to reset my numbering?
>   

i admit that it's a bit fuzzy ... (some day i'll make this more 
transparent)

\setuphead   [chapter][resetnumber=no]
\setupsection[section][previousnumber=no]

\chapter{Section One}
\section{Second Topic}
\section{Third Topic}
\section{Fourth Topic}

\chapter{Section Two}
\section{Fifth Topic}
\section{Sixth Topic}

\chapter{Section Three}

\stoptext


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to