Jorge Manuel schrieb am 06.10.2024 um 17:44:
Dear ConTeXt Support Team,
I hope this message finds you well. In the latest version of ConTeXt, the following piece of code no longer works as expected. I use it to define a custom legal numbering format for itemized lists:
\def\legalconversion#1{ \dorecurse{\numexpr\currentitemlevel-1}{% \namedstructurecounter{itemgroup}{\currentparentitemgroup}{\recurselevel}.}% #1% }
\defineconversion[legal][\legalconversion]
Could you kindly advise on how to modify or fix this code to be compatible with the current version of ConTeXt?
Do you want this kind of numbering for itemize? \starttext \startitemize[n,repeat][stopper=,width=\widthofstring{0},distance=.5em] \item 1 \startitemize[n,repeat][stopper=,width=\widthofstring{0.0},distance=.5em] \item 1.1 \startitemize[n][stopper=,width=\widthofstring{0.0.0},distance=.5em] \item 1.1.1 \stopitemize \stopitemize \stopitemize \stoptext Wolfgang