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?
Thank you very much for your assistance and support

Can you show a complete (non) working example.

Wolfgang