Thanks, Wolfgang. This is good start. The problem now is that with \def\firstlevelnumber#1{\xdef\thefirstlevelnumber{#1}#1} \defineconversion[firstlevelnumber][\firstlevelnumber] \def\secondlevelnumber#1{\thefirstlevelnumber.#1} \defineconversion[secondlevelnumber][\secondlevelnumber] \starttext \setupitemize[n,packed,joinedup,serried] \startitemize[ firstlevelnumber] \item item 1 \startitemize[secondlevelnumber] \item item 1.1 \item item 1.2 \item item 1.3 \stopitemize \item item 2 \startitemize[secondlevelnumber] \item item 2.1 \item item 2.2 \item{ item 2.3 \stopitemize \item item 3 \startitemize[secondlevelnumber] \item item 3.1 \item item 3.2 \stopitemize \stopitemize • the subitem numeration ends with a full stop which I am unable to remove using stopper=0. (Inserting it in the second level \setupitemize ruins the numeration • the subitem text is smashed against the numeration All best, Alan On Sep 30, 2007, at 12:11 PM, Wolfgang Schuster wrote:
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 ______________________________________________________________________ _____________ 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 ______________________________________________________________________ _____________