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.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to