On Apr 26, 2008, at 9:13 AM, Dalyoung Jeong wrote:
> 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}"
>
This looks fine.
> - 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.
That's the error; if luatex finds the files in texmf-dist first, then
it will give errors because these files are too old to work with
recent luatex binaries. Can you post the output of the luatools --
generate command? Also, does the good old kpsewhich find the "right"
cont-new.tex? Could you run
sudo mktexlsr
and then
kpsewhere cont-new.tex
The last command, on my box, gives this output:
/usr/local/texlive/texmf-local/tex/context/base/cont-new.tex
/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-new.tex
So the one in texmf-local is found before the one in texmf-dist. Are
you sure you unzipped cont-tmf.zip in the right location?
Thomas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________