[NTG-context] getnumber and Roman numerals

Piotr Kopszak kopszak at gmail.com
Sun Dec 20 16:17:42 CET 2015


Perfect! That's exactly what I needed. I used numers without prefix in the end.

\definecounter[mycounter][way=bytext,prefix=no]

Many thanks!

Piotr

2015-12-19 9:48 GMT+01:00 Wolfgang Schuster <schuster.wolfgang at gmail.com>:
> Piotr Kopszak
> 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
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________



-- 
http://okle.pl


More information about the ntg-context mailing list