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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to