16 Apr
2012
16 Apr
'12
9:44 p.m.
On Mon, 16 Apr 2012, Helge Blischke wrote:
By trial and eror I found out that context --path=... tries to run the scripts and programs within that directory which leads to abort if e.g. the calling user has no write permission there.
Can you summarize your results on the wiki?
On the other hand, inserting a \usepath[...] just after the \start... command functions as exspected.
Thus, I'd propose to provide an additional option --usepath=... what does exactly that, which avoids editing the main.tex file.
Easy to do on your own: \doifsomething{\env{usepath}} {\expanded{\usepath[\env{usepath}]}} and then call you tex file using context --arguments=usepath=/path/to/set filename Aditya