[NTG-context] item enumeration

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Wed May 25 12:56:49 CEST 2022

Jorge Manuel via ntg-context schrieb am 25.05.2022 um 12:22:
> Hi to All
> A have this piece of code that works in old ConText versions but with 
> new versions (current version: 2022.04.19 19:53) don’t.
> \def\legalconversion#1{
>  \dorecurse{\numexpr\currentitemlevel-1}{%
>  \rawcounter[itemgroup:\currentparentitemgroup][\recurselevel].}%
>  #1%
> }
> \defineconversion[legal][\legalconversion]
> How can fix this?

Are you looking for the repeat keyword?


\setupitemize[1][width=\widthofstring    {0},distance=1em]
\setupitemize[2][width=\widthofstring  {0.0},distance=1em]

     \item one
         \item one-one
         \item one-two
     \item two
         \item two-one
             \item two-one-one
             \item two-one-two
         \item two-two



More information about the ntg-context mailing list