From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40707 Path: news.gmane.org!not-for-mail From: Dalyoung Jeong Newsgroups: gmane.comp.tex.context Subject: question on the luaTeX installation Date: Sat, 26 Apr 2008 16:13:32 +0900 Message-ID: <3D744C39-55DA-452D-8307-4D05AB7E900A@mac.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1209194132 2195 80.91.229.12 (26 Apr 2008 07:15:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Apr 2008 07:15:32 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 26 09:16:07 2008 connect(): Connection refused 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 1Jpedh-0003Wy-Jm for gctc-ntg-context-518@m.gmane.org; Sat, 26 Apr 2008 09:16:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4E4301FBF9; Sat, 26 Apr 2008 09:15:23 +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 08663-01-2; Sat, 26 Apr 2008 09:14:29 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7D7BD1FBD5; Sat, 26 Apr 2008 09:14:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8BDEA1FBD0 for ; Sat, 26 Apr 2008 09:14: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 08089-02-6 for ; Sat, 26 Apr 2008 09:13:45 +0200 (CEST) Original-Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.67]) by ronja.ntg.nl (Postfix) with ESMTP id CA6231FBDB for ; Sat, 26 Apr 2008 09:13:40 +0200 (CEST) Original-Received: from mac.com (asmtp010-s [10.150.69.73]) by smtpoutm.mac.com (Xserve/smtpout004/MantshX 4.0) with ESMTP id m3Q7DcON020219 for ; Sat, 26 Apr 2008 00:13:39 -0700 (PDT) Original-Received: from graph.ssu.ac.kr (graph.ssu.ac.kr [203.253.9.14] (may be forged)) (authenticated bits=0) by mac.com (Xserve/asmtp010/MantshX 4.0) with ESMTP id m3Q7DZ8O027419 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sat, 26 Apr 2008 00:13:36 -0700 (PDT) X-Mailer: Apple Mail (2.919.2) 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:40707 Archived-At: Dear all, With a fresh mind, I tried to install luaTeX in my Mac G5(OSX 10.5) as follows: (based on Thomas's instruction) - updating the ConTeXt - making formats - preparing some files like texlua, texluac, luatools, mtxrun. - made a environment variable in .luatex export TEXMFCACHE="/tmp" export TEXMFCNF="/usr/local/texlive/2007/texmf/web2c" export TEXMF="{/Users/dalyoung/.texlive2007/texmf-config,/Users/ dalyoung/.texlive2007/texmf-var,/Users/dalyoung/Library/texmf,/usr/ local/texlive/2007/texmf-config,/usr/local/texlive/2007/texmf-var,/usr/ local/texlive/2007/texmf,/usr/local/texlive/2007/../texmf-local,/usr/ local/texlive/2007/texmf-dist }" export LUAINPUTS="{/usr/local/texlive/texmf-local/tex/context/base,/ usr/local/texlive/texmf-local/sc ripts/context/lua,/Users/dalyoung/ texmf/scripts}" - run "source .luatex" - run "luatools --generate" it showed a long list without any error message. So far, it looks fine. After the generation, I check the file "cont- new.tex", then it pointed the file in the folder texmf-dist not in the folder texmf-local. I updated the ConTeXt file in the folder texmf-local, but I don't know why it is looking for files under texmf-dist folder not under texmf- local. $ luatools cont-new.tex /usr/local/texlive/2007/texmf-dist/tex/context/base/cont-new.tex I tried to create a format. But "luatools --ini --verbose --compile cont-en" stops with an error message. LuaTools | version 1.1.1 - 2006+ - PRAGMA ADE / CONTEXT LuaTools | loading configuration for /usr/local/texlive/2007/texmf/ web2c from /tmp/luatex-cache/context/5b25423ad16f5b11dc34abcf44e70ed1/ trees/6da32d2ec193ac6d2428d020ce069374 LuaTools | locating list of /Users/dalyoung/.texlive2007/texmf-config LuaTools | locating list of /Users/dalyoung/.texlive2007/texmf-var LuaTools | locating list of /Users/dalyoung/Library/texmf LuaTools | locating list of /usr/local/texlive/2007/texmf-config LuaTools | locating list of /usr/local/texlive/2007/texmf-var LuaTools | locating list of /usr/local/texlive/2007/texmf LuaTools | locating list of /usr/local/texlive/2007/../texmf-local LuaTools | locating list of /usr/local/texlive/2007/texmf-dist ... LuaTools | using compiled initialization file cont-en.luc LuaTools | using lua initialization file cont-en.luc LuaTools | running command: luatex --ini --lua="cont-en.luc" "/usr/ local/texlive/2007/texmf-dist/tex/context/base/cont-en.tex" \\dump This is LuaTeX, Version snapshot-0.25.3-2008041819 (Web2C 7.5.6) (INITEX) (/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-en.tex (/usr/local/texlive/2007/../texmf-local/tex/context/base/context.tex (/usr/local/texlive/2007/../texmf-local/tex/context/base/syst-pln.tex) (/usr/local/texlive/2007/../texmf-local/tex/context/base/syst-prm.tex) (/usr/local/texlive/2007/../texmf-local/tex/context/base/luat-env.tex ! LuaTeX error [string "luas[0]"]:1: attempt to call field 'luafilechunk' (a ni l value). \ctxluabyteload ...nvironment.luafilechunk("#1") } \ ...fproductionrun \else \ctxluabyteload {#1}{#2} \fi \global \everyloadluac... l.168 \registerctxluafile{luat-env}{1.001} ? Since I updated the ConTeXt file in the folder texmf-local, but I don'tknow why it is looking for files under texmf-dist. Is there anything wrong in my setup? Thank you for reading. best regards, Dalyoung Jeong ___________________________________________________________________________________ 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 ___________________________________________________________________________________