From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42076 Path: news.gmane.org!not-for-mail From: Jesse Alama Newsgroups: gmane.comp.tex.context Subject: Re: trouble starting context Date: Wed, 02 Jul 2008 18:05:13 -0700 Message-ID: References: <486B34C7.9000509@elvenkind.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: ger.gmane.org 1215047220 25389 80.91.229.12 (3 Jul 2008 01:07:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jul 2008 01:07:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 03 03:07:45 2008 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 1KEDIW-0004c2-Bi for gctc-ntg-context-518@m.gmane.org; Thu, 03 Jul 2008 03:07:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E567F1FE51; Thu, 3 Jul 2008 03:06:48 +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 27106-02; Thu, 3 Jul 2008 03:06:00 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 021581FC78; Thu, 3 Jul 2008 03:06:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0A0D11FC78 for ; Thu, 3 Jul 2008 03:05:58 +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 28504-04-2 for ; Thu, 3 Jul 2008 03:05:17 +0200 (CEST) Original-Received: from smtp-roam.Stanford.EDU (smtp-roam.Stanford.EDU [171.64.10.152]) by ronja.ntg.nl (Postfix) with ESMTP id 76D081FB29 for ; Thu, 3 Jul 2008 03:05:17 +0200 (CEST) Original-Received: from localhost (c-71-202-237-115.hsd1.ca.comcast.net [71.202.237.115]) (authenticated bits=0) by smtp-roam.Stanford.EDU (8.12.11/8.12.11) with ESMTP id m6315EOU023962 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 2 Jul 2008 18:05:15 -0700 In-Reply-To: <486B34C7.9000509@elvenkind.com> (Taco Hoekwater's message of "Wed, 02 Jul 2008 09:56:55 +0200") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.2 (darwin) 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:42076 Archived-At: Taco Hoekwater writes: > Jesse Alama wrote: >> I just downloaded the TeXLive 2008 developer snapshot and wanted to try >> out LuaTeX. Unfortunately, I can't even get started: >> >> $ context dissertation.tex >> >> MtxRun | unknown script: context >> >> I ran luatools --generate before doing this. What's odd is that >> mtx-context can be found: >> >> $ luatools mtx-context.lua > > We've had this before. IIRC, the problem is that mtxrun looks for > the script using a different 'file type' from luatools. It probably > means you will have to adjust a value in texmf.cnf. > > I have: > > LUAINPUTS=.;$TEXMF/tex/{context,plain/base,generic}//:$TEXMF/scripts/context/lua > TEXMFSCRIPTS=.;$TEXMF/tex/{context,plain/base,generic,}//;$TEXMF/scripts/context// > > and I strongly suspect both are needed. After adjusting the value(s), > you will have to rerun luatools --generate. I modified texmf.cnf to give these variables those values, but I still get the same error, even after luatools --generate. Further suggestions? By the way, I initially modified the "local" texmf.cnf file texlive/2008/texmf.cnf rather than the "gloal" configuration file texlive/2008/texmf/web2c/texmf.cnf because the former file says that it should contain changes to the latter: <---snip---> % If you want to configure something to a value different then the one % in texmf/web2c/texmf.cnf, just put the changed value here. <---snip---> But I noticed that when I ran luatools --generate, it apparently ignored this "local" texmf.cnf file; it read only the "global" texmf.cnf file. I inferred that from the output: LuaTools | error unable to locate texmfcnf.lua LuaTools | loading /usr/local/texlive/2008/texmf/web2c/texmf.cnf LuaTools | preparing configuration for /Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/ae181585be5454a57ae25fb95c3ccbef.tma LuaTools | saving configuration in /Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/ae181585be5454a57ae25fb95c3ccbef.tma LuaTools | compiling configuration to /Users/alama/luatex-cache/context/79597d0cc507e8e510dd517f8850b2ca/trees/ae181585be5454a57ae25fb95c3ccbef.tmc ...etc. Thus I modified the "global" configuration file instead. By the way, the variables LUAINPUTS and TEXMFSCRIPTS already had values: LUAINPUTS = .;$TEXMF/scripts/{$progname,$engine,}/lua//;$TEXINPUTS TEXMFSCRIPTS = $TEXMF/scripts/{$engine,$progname,}// But I overwrote those to give them the values you recommended, to no avail, unfortunately. Jesse -- Jesse Alama (alama@stanford.edu) ___________________________________________________________________________________ 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 ___________________________________________________________________________________