ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: John Culleton <john@wexfordpress.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Run context from Perl script
Date: Wed, 12 May 2010 08:57:55 -0400	[thread overview]
Message-ID: <201005120857.55303.john@wexfordpress.com> (raw)
In-Reply-To: <AANLkTik7Q0v-1PGxS811nQhCeC6kNAoOc2llFowQs6RF@mail.gmail.com>

On Wednesday 12 May 2010 05:08:02 luigi scarso wrote:
> On Wed, May 12, 2010 at 11:03 AM, Vnpenguin 
<vnpenguin@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
___________________________________________________________________________________


  parent reply	other threads:[~2010-05-12 12:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-12  9:03 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 [this message]
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=201005120857.55303.john@wexfordpress.com \
    --to=john@wexfordpress.com \
    --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).