Wolfgang Schuster wrote:
Am 14.12.2009 um 17:28 schrieb Hans Hagen:
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
my fix solves only one problem, there is another one in this example which I can't fix
the numbers in the subitem appear as a.a. and a.b. instead of 1.a. and 1.b.
only with the repeated i assume so it's a local problem ... you can add an item to the tracker (i'm in the middle of something else now) btw, thanks for solving bugs, Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------