Wolfgang Schuster wrote:
Hi Hans,
the repeat option for itemize is broken.
\starttext \startitemize[n,repeat] \item Item 1 \startitemize[a] \item Item 1.a. \item Item 1.b. \stopitemize \item Item 2 \startitemize[a] \item Item 2.a. \item Item 2.b. \stopitemize \stopitemize \stoptext
One problem can be solved when you change
\def\checkforrepeatedlistitem {\ifconditional\repeatlistitem \ifx\currentrepeatstart\empty \edef\currentrepeatstart{\the\numexpr\currentitemlevel-1}% \fi \setbox\itemgroupitembox\hbox to \wd\itemgroupitembox{\hskip-\itemgroupaskedwidth\box\itemgroupitembox}% what a hack ! \fi}
to
\def\checkforrepeatedlistitem {\ifconditional\repeatlistitem \ifx\currentrepeatstart\empty \let\currentrepeatstart\currentitemlevel \fi \setbox\itemgroupitembox\hbox to \wd\itemgroupitembox{\hskip-\itemgroupaskedwidth\box\itemgroupitembox}% what a hack ! \fi}
ok ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------