On Sun, 30 Sep 2007, Alan Bowen wrote:

> I need to produce an lengthy itemization of the form:
> 1.AAAA
>       1.1 aaaa
>       1.2 bbbb
> 2.BBBB
>       2.1 cccc
>
> I can get:
> 1.AAAA
>       1 aaaa
>       2 bbbb
> 2.BBBB
>       1 cccc
> easily enough, but how can I get the main division number to repeat in the 
> subitem numeration?


>From core-itm.tex

% \startbuffer
% \item
%   \startitemize[n]
%   \item item 1.1
%   \item item 1.2
%   \startitemize[n] \item item 1.2.1 \item item 1.2.2 \stopitemize
%   \item item 1.3
%   \stopitemize
% \item
%   \startitemize[n] \item item 2.1 \item item 2.2 \stopitemize
% \item item 3
%   \startitemize[n] \item item 3.1 \item item 3.2 \stopitemize
% \item
%   \startitemize[n] \item item 4.1 \item item 4.2 \stopitemize
% \stopbuffer
%
% \startitemize[n,repeat,6*broad,packed] \getbuffer \stopitemize 
\blank[3*big]
% \startitemize[n,repeat,packed]         \getbuffer \stopitemize 
\blank[3*big]
% \setupitemize[each][atmargin][width=3em]
% \startitemize[n,repeat,packed]         \getbuffer \stopitemize

Aditya
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to