From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36486 Path: news.gmane.org!not-for-mail From: Arthur Reutenauer Newsgroups: gmane.comp.tex.context Subject: Re: Problems getting luatools to work Date: Wed, 12 Sep 2007 19:47:57 +0200 Message-ID: <20070912174757.GC5580@phare.normalesup.org> References: <46E82207.9040303@sun.com> 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: sea.gmane.org 1189624307 24871 80.91.229.12 (12 Sep 2007 19:11:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2007 19:11:47 +0000 (UTC) To: Mark.Almeida@Sun.COM, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 12 21:11:42 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IVXcd-0007fq-Qd for gctc-ntg-context-518@m.gmane.org; Wed, 12 Sep 2007 21:11:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C7E351FEF9; Wed, 12 Sep 2007 21:11:35 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28392-03-16; Wed, 12 Sep 2007 21:11:24 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 412421FCC7; Wed, 12 Sep 2007 21:11:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5D97F1FCC7 for ; Wed, 12 Sep 2007 21:11:20 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28392-03-15 for ; Wed, 12 Sep 2007 21:11:11 +0200 (CEST) Original-Received: from nef2.ens.fr (nef2.ens.fr [129.199.96.40]) by ronja.ntg.nl (Postfix) with ESMTP id 4C9E61FBF9 for ; Wed, 12 Sep 2007 19:48:02 +0200 (CEST) Original-Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id l8CHlvAL065373 ; Wed, 12 Sep 2007 19:47:57 +0200 (CEST) X-Envelope-To: ntg-context@ntg.nl Original-Received: by phare.normalesup.org (Postfix, from userid 1008) id 64CA53806D; Wed, 12 Sep 2007 19:47:57 +0200 (CEST) Content-Disposition: inline In-Reply-To: <46E82207.9040303@sun.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.1.4 (nef2.ens.fr [129.199.96.32]); Wed, 12 Sep 2007 19:47:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:36486 Archived-At: > However, I can not > get it to generate the format file: > > luatools --generate luatools --ini --compile --verbose cont-en > This is luaTeX, Version 3.141592-beta-0.10.2-2007090506 (Web2C 7.5.6) > I can't find the format file `luatex.fmt'! > > What am I missing here? Obviously this command line (which looks quite strange to me) does not compile the format; it tries to run ConTeXt Mark IV directly. It seems that you have concatenated two legitimate command lines ;-) Try: luatools --generate luatools --ini --compile --verbose cont-en > Do I need to set some environment variables for lua? Or for ConTeXT? Yes, quite a bit, for ConTeXt above all; as a minimum, TEXMFCNF and TEXMF. Otherwise you can have a look at Hans' setuptex in the minimal distributions: linuxtex.zip, macosxtex.zip, etc. setuptex is a shell script, so all you have to do is source it (and forget about the other executables in the zip file since you can't use them anyway). Arthur ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________