On Wednesday 12 May 2010 05:08:02 luigi scarso wrote: > 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};
I have texlive 2009 installed. I get the same error messages: bash-3.1$ context book.tex MTXrun | unknown script 'context.lua' or 'mtx-context.lua' Do I have to install context-minimals to use mkiv or is this just a path problem? -- John Culleton Wexford Press "Create Book Covers with Scribus" Printable E-book 38 pages $5.95 http://www.scribd.com/doc/24676863/ http://www.booklocker.com/books/4055.html ___________________________________________________________________________________ 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 ___________________________________________________________________________________