Re: [NTG-context] Run context from Perl script

2010-05-12 Thread Vnpenguin
On Wed, May 12, 2010 at 11:08, luigi scarso luigi.sca...@gmail.com 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 :)

Thank you,
Regards
___
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
___


Re: [NTG-context] Run context from Perl script

2010-05-12 Thread luigi scarso
On Wed, May 12, 2010 at 2:28 PM, Vnpenguin vnpeng...@vnoss.org wrote:
 On Wed, May 12, 2010 at 11:08, luigi scarso luigi.sca...@gmail.com 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 Luigisigh
-- 
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
___


Re: [NTG-context] Run context from Perl script

2010-05-12 Thread John Culleton
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
___


Re: [NTG-context] Run context from Perl script

2010-05-12 Thread luigi scarso
On Wed, May 12, 2010 at 2:57 PM, John Culleton j...@wexfordpress.com wrote:
 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
___
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
___