24 Apr
2010
24 Apr
'10
11:13 a.m.
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