[NTG-context] why is \getnumber an undefined control sequence?

Hans Hagen pragma at wxs.nl
Mon Apr 2 17:33:57 CEST 2012


On 2-4-2012 17:20, Thomas A. Schmitz wrote:
> On 04/02/2012 05:15 PM, Wolfgang Schuster wrote:
>> The problem are these two synonyms:
>>
>> \let \getnumber \getcounter % [name]
>> \let \convertednumber \getcounter % [name]
>>
>> There is a \convertedcounter but no \getcounter.
>>
>> @Thomas: You can \rawcounter to print only the numeric value of the
>> counter or \convertedcounter for a formatted form of the counter (you
>> can apply a conversion, e.g. romannumerals or add a prefix, e.g. the
>> current chapter or section number).
>>
>> Wolfgang
>
> Ah, thank you Wolfgang! \rawcounter is sufficient for me in my real-life
> case, but I assume you will want to add \getcounter? (And are the number
> synonyms here to stay, or will they be deleted?)

they might stay as they are in manuals but best start using the counter 
names (reason: a,b,c is counting but not numbering)

Hans

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


More information about the ntg-context mailing list