30 Sep
2007
30 Sep
'07
4:11 p.m.
2007/9/30, Alan Bowen
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?
Alan
\def\firstlevelnumber#1{\xdef\thefirstlevelnumber{#1}#1} \defineconversion[firstlevelnumber][\firstlevelnumber] \def\secondlevelnumber#1{\thefirstlevelnumber.#1} \defineconversion[secondlevelnumber][\secondlevelnumber] \starttext \startitemize[firstlevelnumber] \item AAAA \startitemize[secondlevelnumber] \item aaaa \item bbbb \stopitemize \item BBBB \startitemize[secondlevelnumber] \item cccc \item dddd \stopitemize \stopitemize \stoptext Wolfgang