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