10 Sep
2012
10 Sep
'12
10:53 a.m.
A feeble request from me, again. I'd like to pass variables into context on invocation, just as you can do with setting modes So context --arguments="number=8", "time=full-time" --mode=trial test.tex And have the values of the variables show up in the body of the text, so: ---- \starttext Hello world % This is \getvariables{arguments}{number} it. % this does not work - what do I need here to write out the next line? This is 8. % This is \getvariables{arguments}{time} it. % Nor does this - what do I need here to write out the next line? This is full-time. \stoptext ---- As ever, I've trawled the manuals and wiki and archive emails (which is where the construct --arguments="number=8" came from.) Thanks in anticipation Ian