I tried adapting this example to make the item numbers display as
'1a1.' instead of '1.a.1.'. Didn't work: both right= and stopper= seem
to affect what happens after all the number segments are placed. I
couldn't find any key ('punctuation'?) which affects what comes
between numbers, so that you can produce e.g. '1.', '1:a.', and
'1:a:1.'. Or indeed '1a1'. Is there such an option?
--Sietse
\setupitemgroup[itemize][1][n,repeat][width=1em,right=!,stopper=?]
\setupitemgroup[itemize][2][a,repeat][width=2em,right=X,stopper=Y]
\setupitemgroup[itemize][3][n] [width=3em,right=>,stopper=<]
\startitemize
\item ... % 1
\startitemize
\item ... % 1.a
\startitemize
\item ... % 1.a.1
\stopitemize
\item ... % 1.b
\startitemize
\item ... % 1.b.1
\item ... % 1.b.2
\stopitemize
\stopitemize
\stopitemize
On Thu, Dec 6, 2012 at 7:07 AM, Wolfgang Schuster
<[email protected]> wrote:
>
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________