ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Run context from Perl script
@ 2010-05-12  9:03 Vnpenguin
  2010-05-12  9:08 ` luigi scarso
  0 siblings, 1 reply; 6+ messages in thread
From: Vnpenguin @ 2010-05-12  9:03 UTC (permalink / raw)
  To: ConTeXt list

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-12 13:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-12  9:03 Run context from Perl script Vnpenguin
2010-05-12  9:08 ` luigi scarso
2010-05-12 12:28   ` Vnpenguin
2010-05-12 12:31     ` luigi scarso
2010-05-12 12:57   ` John Culleton
2010-05-12 13:04     ` luigi scarso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).