From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36521 Path: news.gmane.org!not-for-mail From: The Wizard Newsgroups: gmane.comp.tex.context Subject: Still can't get luatools to work Date: Thu, 13 Sep 2007 08:44:12 -0700 Organization: Sun Client Solutions Message-ID: <46E95ACC.9090204@sun.com> Reply-To: Mark.Almeida@Sun.COM, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0739545763==" X-Trace: sea.gmane.org 1189708300 18477 80.91.229.12 (13 Sep 2007 18:31:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2007 18:31:40 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 13 20:31:33 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 1IVtTR-0006uf-G5 for gctc-ntg-context-518@m.gmane.org; Thu, 13 Sep 2007 20:31:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0C6CD1FE2D; Thu, 13 Sep 2007 20:31:27 +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 02891-07-4; Thu, 13 Sep 2007 20:31:15 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6EE851FC7B; Thu, 13 Sep 2007 20:31:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EC5261FC7B for ; Thu, 13 Sep 2007 20:31:11 +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 02891-07-3 for ; Thu, 13 Sep 2007 20:31:06 +0200 (CEST) Original-Received: from brmea-mail-3.sun.com (brmea-mail-3.Sun.COM [192.18.98.34]) by ronja.ntg.nl (Postfix) with ESMTP id 070051FB5E for ; Thu, 13 Sep 2007 17:44:20 +0200 (CEST) Original-Received: from fe-amer-10.sun.com ([192.18.109.80]) by brmea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l8DFiJtZ015210 for ; Thu, 13 Sep 2007 15:44:19 GMT Original-Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JOB00001C3ENA00@mail-amer.sun.com> (original mail from Mark.Almeida@Sun.COM) for ntg-context@ntg.nl; Thu, 13 Sep 2007 09:44:19 -0600 (MDT) Original-Received: from [192.168.1.28] ([67.116.240.47]) by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JOB00LNED1PJRC0@mail-amer.sun.com> for ntg-context@ntg.nl; Thu, 13 Sep 2007 09:44:13 -0600 (MDT) User-Agent: Thunderbird 2.0.0.6 (X11/20070802) 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:36521 Archived-At: --===============0739545763== Content-type: text/html; charset=ISO-8859-1 Content-transfer-encoding: 7BIT All -
    Based on some help I got yesterday, I setup some environment variables to see if I could get MarkIV working; still no joy:

env | sort | egrep 'LUA|TEX'
LUAINPUTS={/usr/local/texlive/texmf-local/scripts/context/lua,/usr/local/texlive/texmf-local/tex/context/base}
LUATEXDIR=/usr/local/texlive/texmf-local/scripts/context/lua
TEXMF={/usr/local/texlive/texmf-local,/usr/local/texlive/2007/texmf,/usr/local/texlive/2007/texmf-var,/usr/local/texlive/2007/texmf-dist}
TEXMFCACHE=/var/tmp
TEXMFCNF=/usr/local/texlive/2007/texmf/web2c

ctxtools --contextversion
CtxTools | context version: 2007.08.29 19:19 (/usr/local/texlive/texmf-local/tex/context/base/context.tex)
CtxTools | context version: 2007.08.29 19:19 (/usr/local/texlive/texmf-local/tex/context/base/cont-new.tex)

luatools --version
This is luaTeX, Version 3.141592-beta-0.10.2-2007090506

LuaTeX merges and builds upon (parts of) the code from these projects:

tex       by Donald Knuth
etex      by Peter Breitenlohner, Phil Taylor and friends
omega     by John Plaice and Yannis Haralambous
aleph     by Giuseppe Bilotta
pdftex    by Han The Thanh and friends
kpathsea  by Karl Berry, Olaf Weber and others
lua       by Roberto Ierusalimschy, Waldemar Celes,
             Luiz Henrique de Figueiredo
metapost  by John Hobby, Taco Hoekwater and friends.
xpdf      by Derek Noonberg (partial)
fontforge by George Williams (partial)

Some extensions to lua and additional lua libraries are used, as well as
libraries for graphic inclusion. More details can be found in the source.
Code development was sponsored by a grant from Colorado State University
via the 'oriental tex' project, the TeX User Groups, and donations.

The LuaTeX team is Hans Hagen, Hartmut Henkel, Taco Hoekwater.

There is NO warranty. Redistribution of this software is covered by
the terms of the GNU General Public License, version 2. For more
information about these matters, see the file named COPYING and
the LuaTeX source.

Copyright 2007 Taco Hoekwater, the LuaTeX Team.

Compiled with libpng 1.2.15; using libpng 1.2.15
Compiled with zlib 1.2.3; using zlib 1.2.3
Compiled with xpdf version 3.01


texexec --check
TeXExec | current distribution: web2c
TeXExec | context source date: 2007.08.29 19:19
TeXExec | format path: . /usr/local/texlive/texmf-local/web2c/unset /usr/local/texlive/2007/texmf/web2c/unset /usr/local/texlive/2007/texmf-var/web2c/unset /usr/local/texlive/2007/texmf-dist/web2c/unset /usr/local/texlive/texmf-local/web2c /usr/local/texlive/2007/texmf/web2c /usr/local/texlive/2007/texmf-var/web2c /usr/local/texlive/2007/texmf-dist/web2c
TeXExec | start of analysis
TeXExec | end of analysis
TeXExec |
TeXExec | TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
TeXExec | TeXUtil   | version 9.1.0 - 1997-2005 - PRAGMA ADE/POD
TeXExec | CtxTools | version 1.3.3 - 2004/2006 - PRAGMA ADE/POD

But when I try to setup MarkIV, I still get errors

luatools --generate
This is luaTeX, Version 3.141592-beta-0.10.2-2007090506 (Web2C 7.5.6)
**
<I have to Control-D out here>

luatools --ini --compile --verbose cont-en
This is luaTeX, Version 3.141592-beta-0.10.2-2007090506 (Web2C 7.5.6) (INITEX)
(/usr/local/texlive/texmf-local/tex/context/base/cont-en.tex
(/usr/local/texlive/texmf-local/tex/context/base/context.tex
(/usr/local/texlive/texmf-local/tex/context/base/syst-pln.tex)
(/usr/local/texlive/texmf-local/tex/context/base/syst-prm.tex)
(/usr/local/texlive/texmf-local/tex/context/base/luat-env.tex
! LuaTeX error [string "luas[0]"]:1: attempt to index global 'input' (a nil val
ue).
<argument> ...mf.instance,"luat-env.lua","tex")) }
                                                 
\startruntimeluacode ...everyloadluacode #1}\fi #1
                                                 
l.88 \stopruntimectxluacode
                          
? ^D
! Emergency stop.
<argument> ...mf.instance,"luat-env.lua","tex")) }
                                                 
\startruntimeluacode ...everyloadluacode #1}\fi #1
                                                 
l.88 \stopruntimectxluacode
                          

in use: 109 node words from 500
still untouched: 383 node words
size  2 avail list:     4
size  3 avail list:     3
No pages of output.
Transcript written on cont-en.log.


So there is still some issue with my environment or luatex version.

Mark Almeida

--===============0739545763== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0739545763==--