ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: need help for the installation of luatools
Date: Thu, 13 Sep 2007 06:47:49 +0200	[thread overview]
Message-ID: <B39B83B4-0244-4103-B153-DE72FDEF4212@uni-bonn.de> (raw)
In-Reply-To: <07BA3016-90DD-4EC6-B027-8B655E53D561@mac.com>


On Sep 13, 2007, at 3:02 AM, Dalyoung Jeong wrote:

> Dear Thomas,
>
> How careless I am! and sorry not to give you a sufficient information.
> As you said, lua!=luatex.
>
> I downloaded and installed luatex in the folder /usr/texbin.
> I also copied it as texlua.
>
> Now,  It seems to me that luatools is working without the previous
> error.
> However, there is a problem of doing "luatools --generate" yet
> because I used TeXlive based on the gwTeX distribution.
>
> LuaTools | skipping /texmf-local/web2c/texmf.cnf
> LuaTools | skipping /texmf/web2c/texmf.cnf
> LuaTools |
> LuaTools | runtime: 0.05 seconds
> apple:~ dalyoung$ luatools --ini --compile --verbose cont-en
>
> LuaTools | version 1.1.1 - 2006+ - PRAGMA ADE / CONTEXT
>
> LuaTools | skipping configuration for /texmf-local/web2c from /Users/
> dalyoung/luatex-cache/context/trees/d80510d450a3fa2a64df4d3741825f1d
> LuaTools | skipping configuration for /texmf/web2c from /Users/
> dalyoung/luatex-cache/context/trees/3113242409ded67a0ad7bd508bd26609
> LuaTools | no tex file with name cont-en.tex
> LuaTools |
> LuaTools | runtime: 0.05 seconds
>
> In my gwTeX, texmf.cnf is located in geTeX folder which also included
> the folders {texmf, texmf.gwtex. texmf.local, texmf.pkgs,
> texmf.texlive}, but neither in texmf.local/web2c nor in texmf/web2c.
> Also, context is installed in the folder texmf.pkgs/tex/context
>
> I think that it cause the problem.
> Is it a real cause of the above problem?
>
> Thank you.
>
> Best regards,
>
> Dalyoung
>
>
OK, you're making progress. The installation is successful by itself,  
but in order for luatex to work, you need to set some environment  
variables. On my machine (OS X with TeXLive 2007), I have these lines  
in a file .luatex which I put in my home directory:

%%%%%%%%%%%%CUT HERE%%%%%%%%%%%%%%%%%%
export TEXMFCACHE="/tmp"
export TEXMFCNF="/usr/local/texlive/2007/texmf/web2c"
export TEXMF="{/Users/tas/.texlive2007/texmf-config,/Users/ 
tas/.texlive2007/texmf-var,/Users/tas/texmf,/usr/local/texlive/2007/ 
texmf-config,/usr/local/texlive/2007/texmf-var,/usr/local/texlive/ 
2007/texmf,/usr/local/texlive/texmf-local,/usr/local/texlive/2007/ 
texmf-dist,/usr/local/texlive/2007/texmf.gwtex}"
export LUAINPUTS="{/usr/local/texlive/texmf-local/tex/context/base,/ 
usr/local/texlive/texmf-local/scripts/context/lua}"
%%%%%%%%%%%%CUT HERE%%%%%%%%%%%%%%%%%%

Adapt these settings to your needs: TEXMFCACHE /tmp is OK. TEXMFCNF  
should point to the web2c where your texmf.cnf is located. To find  
out what that is, run
kpsewhich texmf.cnf
TEXMF should list all your TEXMF trees. Run
kpsewhich --expand-var='$TEXMF'
You will need to clean up the output (remove stuff like !! etc.) so  
it is just  a flat list of directories like mine. LUAINPUTS points to  
your current ConTeXt installation.

So put these variables in a file .luatex and run
source ~/.luatex
After that, luatools --generate and luatools --ini --compile should  
work for you.

HTH

Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2007-09-13  4:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-13  1:02 Dalyoung Jeong
2007-09-13  4:47 ` Thomas A. Schmitz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-09-17  2:32 Dalyoung Jeong
2007-09-15  8:52 Dalyoung Jeong
2007-09-15  9:03 ` Taco Hoekwater
2007-09-15 11:23   ` Hans Hagen
2007-09-14  5:49 Dalyoung Jeong
2007-09-14  6:44 ` Thomas A. Schmitz
2007-09-14  7:10   ` Taco Hoekwater
2007-09-12  4:20 Dalyoung Jeong
2007-09-12  8:08 ` Thomas A. Schmitz
2007-09-12 13:37 ` Arthur Reutenauer
2007-09-12 14:23 ` Taco Hoekwater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B39B83B4-0244-4103-B153-DE72FDEF4212@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).