![](https://secure.gravatar.com/avatar/6342545a34fa15e02b689496a3fd2443.jpg?s=120&d=mm&r=g)
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 ? Thanks,
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Wed, May 12, 2010 at 11:03 AM, Vnpenguin
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
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Wed, May 12, 2010 at 2:28 PM, Vnpenguin
On Wed, May 12, 2010 at 11:08, luigi scarso
wrote: Any idea for help ?
What about qx{source /opt/luatex/minimals-beta/tex/setuptex; context --silent --batch myfile.tex};
Hi luigi, It works ! Super :)
unfortunately I'm, and will always be, Scarso Luigi....sigh.... -- luigi
![](https://secure.gravatar.com/avatar/8b3c344f0adba6016612e05447039f44.jpg?s=120&d=mm&r=g)
On Wed, May 12, 2010 at 11:03 AM, Vnpenguin
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
On Wednesday 12 May 2010 05:08:02 luigi scarso wrote: 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
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Wed, May 12, 2010 at 2:57 PM, John Culleton
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? Always use context-minimals for mkiv (and I use it also for mkii too)
-- luigi
participants (3)
-
John Culleton
-
luigi scarso
-
Vnpenguin