From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58700 Path: news.gmane.org!not-for-mail From: Vnpenguin Newsgroups: gmane.comp.tex.context Subject: Run context from Perl script Date: Wed, 12 May 2010 11:03:55 +0200 Message-ID: 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 1273655044 30422 80.91.229.12 (12 May 2010 09:04:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 May 2010 09:04:04 +0000 (UTC) To: ConTeXt list Original-X-From: ntg-context-bounces@ntg.nl Wed May 12 11:04:02 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 1OC7rG-0002N9-1n for gctc-ntg-context-518@m.gmane.org; Wed, 12 May 2010 11:04:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DA793C9B8D; Wed, 12 May 2010 11:04:01 +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 jJtIRP3yEzgy; Wed, 12 May 2010 11:04:01 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 40AFCC9B41; Wed, 12 May 2010 11:03:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2FEB9C9B41 for ; Wed, 12 May 2010 11:03:58 +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 wQzHAQxrJl6g for ; Wed, 12 May 2010 11:03:55 +0200 (CEST) Original-Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) by balder.ntg.nl (Postfix) with ESMTP id C5C1FC9B1A for ; Wed, 12 May 2010 11:03:55 +0200 (CEST) Original-Received: by wwf26 with SMTP id 26so1414993wwf.14 for ; Wed, 12 May 2010 02:03:55 -0700 (PDT) Original-Received: by 10.216.90.17 with SMTP id d17mr246716wef.103.1273655035357; Wed, 12 May 2010 02:03:55 -0700 (PDT) Original-Received: by 10.216.132.10 with HTTP; Wed, 12 May 2010 02:03:55 -0700 (PDT) X-Google-Sender-Auth: Lja5qK_d51Oon3l1twRw2uIOE50 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:58700 Archived-At: 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 ___________________________________________________________________________________