ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vnpenguin <vnpenguin@vnoss.org>
To: ConTeXt list <ntg-context@ntg.nl>
Subject: Run context from Perl script
Date: Wed, 12 May 2010 11:03:55 +0200	[thread overview]
Message-ID: <AANLkTikb3kgc0huyNaS4I7ejERxaKNLTuNUoawkD9N_j@mail.gmail.com> (raw)

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
___________________________________________________________________________________


             reply	other threads:[~2010-05-12  9:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-12  9:03 Vnpenguin [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikb3kgc0huyNaS4I7ejERxaKNLTuNUoawkD9N_j@mail.gmail.com \
    --to=vnpenguin@vnoss.org \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).