[NTG-context] ! Undefined control sequence

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sat Apr 24 13:13:56 CEST 2010


Am 23.04.10 22:24, schrieb Peter Münster:
> On Fri, Apr 23 2010, Wolfgang Schuster wrote:
>
>    
>> \setvariables[tst][set={\setupTst[1][n,\getvariable{tst}{broad}*broad]}]
>>      
> Hello Wolfgang,
>
> It works event without \setvariables:
>
> \defineitemgroup[Tst]
> \setupTst[1][n,\getvariable{tst}{broad}*broad]
> \starttext
> \setvariables[tst][broad=1]
> \startTst
> \item text
> \stopTst
> \setvariables[tst][broad=5]
> \startTst
> \item text
> \stopTst
> \stoptext
>
> But why? I don't see any "\noexpand" in the definition of \getvariable...
>    
Not sure but it could be possible \setvariables makes only a one level
expansion and in this case you get '\csname ...broad\endcsname*broad'
but not the the number itself.

Wolfgang



More information about the ntg-context mailing list