On Wed, May 12, 2010 at 11:03 AM, Vnpenguin <vnpeng...@vnoss.org> wrote:
> Hi all,
> I would like to run context from a Perl script. Within this script I
> defined environment variables (TEXMFOS, TEXMFCAHE & PATH).
> The command to run is :
>
> exec("/path/to/context myfile.tex");
>
> But context can not start. I have following error:
>
> MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
>
> With the same method, I can run "texexec" without any problem.
>
> Any idea for help ?
What about
qx{source /opt/luatex/minimals-beta/tex/setuptex; context --silent
--batch myfile.tex};

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