From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36482 Path: news.gmane.org!not-for-mail From: The Wizard Newsgroups: gmane.comp.tex.context Subject: Problems getting luatools to work Date: Wed, 12 Sep 2007 10:29:43 -0700 Organization: Sun Client Solutions Message-ID: <46E82207.9040303@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="===============0486356358==" X-Trace: sea.gmane.org 1189618302 2812 80.91.229.12 (12 Sep 2007 17:31:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2007 17:31:42 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 12 19:31:36 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 1IVW3j-00028B-Ge for gctc-ntg-context-518@m.gmane.org; Wed, 12 Sep 2007 19:31:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 99F381FAA5; Wed, 12 Sep 2007 19:31:21 +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 17298-04-4; Wed, 12 Sep 2007 19:30:59 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CF74C1FC57; Wed, 12 Sep 2007 19:30:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F0A711FF5A for ; Wed, 12 Sep 2007 19:30: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 17298-04-3 for ; Wed, 12 Sep 2007 19:29:53 +0200 (CEST) Original-Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43]) by ronja.ntg.nl (Postfix) with ESMTP id D34B11FF8D for ; Wed, 12 Sep 2007 19:29:51 +0200 (CEST) Original-Received: from fe-amer-02.sun.com ([192.18.108.176]) by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l8CHTigD027692 for ; Wed, 12 Sep 2007 17:29:50 GMT Original-Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0JO900A01MZ8SI00@mail-amer.sun.com> (original mail from Mark.Almeida@Sun.COM) for ntg-context@ntg.nl; Wed, 12 Sep 2007 11:29:44 -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-6.01 (built Apr 3 2006)) with ESMTPSA id <0JO900GVNN9KF3J8@mail-amer.sun.com> for ntg-context@ntg.nl; Wed, 12 Sep 2007 11:29:44 -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:36482 Archived-At: --===============0486356358== Content-type: text/html; charset=ISO-8859-1 Content-transfer-encoding: 7BIT All -
    I recently switched from a full-installed teTeX 3.0 system to the latest TeXLive CD distribution, in hopes of simplifying my upgrades. As a result, I followed the garden instructions for TeXLive installation, and downloaded the latest ConTeXT as well. Now, I see this

pdftex --version
pdfTeX 3.141592-1.40.3-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6
Copyright 2007 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea written by Karl Berry, Olaf Weber, and others.

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

ctxtools --contextversion
CtxTools | context version: 2007.09.10 21:31 (/usr/local/texlive/2007/../texmf-local/tex/context/base/context.tex)
CtxTools | context version: 2007.09.10 21:31 (/usr/local/texlive/2007/../texmf-local/tex/context/base/cont-new.tex)

texmfstart texexec --check
TeXExec | current distribution: web2c
TeXExec | context source date: 2007.09.10 21:31
TeXExec | format path: . /usr/local/texlive/2007/texmf-config/web2c/unset /usr/local/texlive/2007/texmf/web2c/unset /home/markea/texmf/web2c/unset /usr/local/texlive/2007/texmf-config/web2c/unset /usr/local/texlive/2007/texmf-var/web2c/unset /usr/local/texlive/2007/texmf/web2c/unset /usr/local/texlive/2007/../texmf-local/web2c/unset /usr/local/texlive/2007/texmf-dist/web2c/unset /usr/local/texlive/2007/texmf-config/web2c /usr/local/texlive/2007/texmf/web2c /home/markea/texmf/web2c /usr/local/texlive/2007/texmf-config/web2c /usr/local/texlive/2007/texmf-var/web2c /usr/local/texlive/2007/texmf/web2c /usr/local/texlive/2007/../texmf-local/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

I can compile my sample document that I use for testing ConTeXT upgrades in the past just fine using pdftex. But, I thought it might be interesting to get the new lua stuff working, so I downloaded the luatex stable beta from the posted site, and compiled and installed it. 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?  My environment is Solaris 10 x86, so I have had to modify the scripts somewhat (the "/usr/bin/env <whatever>" does not work on Solaris for some reason) so my scripts look like this:

ctxtools
#!/bin/sh
texmfstart /usr/local/texlive/texmf-local/scripts/context/ruby/ctxtools.rb "$@"

texexec
#!/bin/sh
texmfstart /usr/local/texlive/texmf-local/scripts/context/ruby/texexec.rb "$@"

luatools
#!/bin/sh
luatex --luaonly=luatools.lua "$@"

mtxrun
#!/bin/sh
luatex --luaonly=mtxrun.lua "$@"

Do I need to set some environment variables for lua? Or for ConTeXT?

Mark Almeida




--===============0486356358== 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 ___________________________________________________________________________________ --===============0486356358==--