[NTG-context] Passing variable values on invoking context
Ian Lawrence
physics.rooted at gmail.com
Wed Feb 15 11:17:36 CET 2012
A bit of help, please.
I currently have a chunk at the start of a text file, like this
\setvariables
[Path]
[Thread={Ee_01_PN},
.....
Mode=full]
\stopbuffer
I invoke the file with
context filename.tex
Is there a way to pass the value of the variable to context on invocation?
So the top of the header might read:
\setvariables
[Path]
[Thread={Ee_01_PN},
.....
]
\stopbuffer
And the invocation:
context filename.tex (bit of magic) Mode=full
If so, I could use this a few times...it's not a big deal but would
mean I could prepare some fixed command files, rather than a search
and replace for Mode=full to Mode=light through al the text files
called by this kind of invocation.
Thanks in anticipation.
Ian
More information about the ntg-context
mailing list