Am 06.12.2012 um 06:55 schrieb Malte Stien <[email protected]>:
> Hi all,
>
> I can easily \setupitemgroup to achieve the following:
>
> 1. ...
> a. ...
> 1. ...
> b. ...
> 1. ...
> 2. ...
> 2. ...
> a. ...
> 1. ...
>
> …but I need the numbers/letters to cumulate as follows:
>
> 1. ...
> 1a. ...
> 1a1. ...
> 1b. ...
> 1b1. ...
> 1b2. ...
> 2. ...
> 2a. ...
> 2a1. ...
>
> Can that be done?
Use the “repeat” keyword.
\setupitemgroup[itemize][1][n,repeat][width=1em]
\setupitemgroup[itemize][2][a,repeat][width=2em]
\setupitemgroup[itemize][3][n] [width=3em]
\starttext
\startitemize
\item …
\startitemize
\item …
\startitemize
\item …
\stopitemize
\item …
\startitemize
\item …
\item …
\stopitemize
\stopitemize
\item …
\startitemize
\item …
\startitemize
\item …
\stopitemize
\stopitemize
\stopitemize
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________