From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58709 Path: news.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Re: Run context from Perl script Date: Wed, 12 May 2010 08:57:55 -0400 Organization: Wexford Press Message-ID: <201005120857.55303.john@wexfordpress.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1273669051 15982 80.91.229.12 (12 May 2010 12:57:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 May 2010 12:57:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 12 14:57:25 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OCBV4-0005A3-S0 for gctc-ntg-context-518@m.gmane.org; Wed, 12 May 2010 14:57:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 54FDAC9BBC; Wed, 12 May 2010 14:57:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id utWZzPYXknzE; Wed, 12 May 2010 14:57:16 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C86ABC9B21; Wed, 12 May 2010 14:57:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5CBDEC9B21 for ; Wed, 12 May 2010 14:57:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CrHhCSAiNrX7 for ; Wed, 12 May 2010 14:57:12 +0200 (CEST) Original-Received: from qmta05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by balder.ntg.nl (Postfix) with ESMTP id 7C491C9AB7 for ; Wed, 12 May 2010 14:57:12 +0200 (CEST) Original-Received: from omta03.westchester.pa.mail.comcast.net ([76.96.62.27]) by qmta05.westchester.pa.mail.comcast.net with comcast id Gaeu1e0030bG4ec55cxCPT; Wed, 12 May 2010 12:57:12 +0000 Original-Received: from sda8.localnet ([68.50.233.152]) by omta03.westchester.pa.mail.comcast.net with comcast id GcxB1e00F3HwwZ83PcxBUv; Wed, 12 May 2010 12:57:12 +0000 User-Agent: KMail/1.11.4 (Linux/2.6.29.6-smp; KDE/4.2.4; i686; ; ) In-Reply-To: Content-Disposition: inline X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:58709 Archived-At: On Wednesday 12 May 2010 05:08:02 luigi scarso wrote: > 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 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 ___________________________________________________________________________________