Is it possible to specify an external graphics directory either as an
environment variable, or as a command line option to `context', instead
of writing `\setupexternalfigures [directory=../../foo]'? I tried the
environment variable setting
TEXINPUTS=../../foo::
as in http://www.tex.ac.uk/FAQ-gr
On Thu, Oct 19 2017, N. Raghavendra wrote:
> Is it possible to specify an external graphics directory either as an
> environment variable, or as a command line option to `context', instead
> of writing `\setupexternalfigures [directory=../../foo]'?
Yes.
Command: "context --arguments=imagedir=../.
At 2017-10-23T17:45:05+02:00, Peter Münster wrote:
> Yes.
> Command: "context --arguments=imagedir=../../foo file"
> File: "\setupexternalfigures[directory=\env{imagedir}]"
Thank you, this works perfectly. It led me also to the
\getvariable{environment}{...}, \getdocumentargument, and
\do*docume