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?

Thanks for you support

Jorge Magalhães