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

Reply via email to