Re: [NTG-context] getnumber and Roman numerals

2015-12-20 Thread Piotr Kopszak
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 :
> 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@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
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___

Re: [NTG-context] getnumber and Roman numerals

2015-12-19 Thread Wolfgang Schuster

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@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
___

[NTG-context] getnumber and Roman numerals

2015-12-18 Thread Piotr Kopszak
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?

Piotr

-- 
http://okle.pl
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___

Re: [NTG-context] getnumber and Roman numerals

2015-12-18 Thread Hans Hagen

On 12/18/2015 9:02 PM, Piotr Kopszak wrote:

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?


\romannumerals{123}
\Romannumerals{123}


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___