[NTG-context] getnumber and Roman numerals

Wolfgang Schuster schuster.wolfgang at gmail.com
Sat Dec 19 09:48:28 CET 2015


> Piotr Kopszak <mailto:kopszak at gmail.com>
> 18. Dezember 2015 um 21:02
> Hello list,
>
> This probably does not make much sense in normal circumstances, as I
> would use simply itemize to get roman numerals for certain items then,
> but this time I'm using output from a script and it would be much
> easier for me to use \getnumber. Is it possile to convert \getnumber
> output to roman numerals?

\definecounter[mycounter]

\starttext

\incrementcounter[mycounter]
\convertedcounter[mycounter]

\incrementcounter[mycounter]
\convertedcounter[mycounter][numberconversion=R]

\incrementcounter[mycounter]
\convertedcounter[mycounter][numberconversion=A]

\stoptext

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20151219/1fb85b92/attachment.html>


More information about the ntg-context mailing list