Hi David,
Recently I updated to MacTeX 2008 which can be found at (thanks to Mojca…)
After that, in a Terminal window I just did the usual thing:
sudo ctxtools --updatecontext
and my ConTeXt installation was updated smoothly.
In order to update as well LuaTeX (which doesn't work out of the box), I have written a script named "generate-lua" containing the following lines:
%%%%%%% begin file generate-lua
source ok-lua
cd /usr/local/texlive/texmf-local/scripts/context/lua
sudo chmod 755 mtxrun.lua
sudo chmod 755 luatools.lua
cd
mtxrun --selfupdate
luatools --selfupdate
luatools --generate
luatools --ini --verbose --compile cont-en
texexec --make --luatex en
%%%%%%% end file generate-lua
Then, when I need to have a working LuaTeX, in a Terminal window I say
sh generate-lua
In the above script another file is "sourced", namely the file "ok-lua" (also "sourced" at each opening of a Terminal window, since I have added the command "source ok-lua" into my ".bashrc" file) and it contains the following lines:
%%%%%%% begin file ok-lua
export TEXMFCACHE="/tmp"
export TEXMFCNF="/usr/local/texlive/2008/texmf/web2c/"
export TEXMF="{/Users/kavian/Library/texmf,/usr/local/texlive/2008/texmf-config,
/usr/local/texlive/2008/texmf-var,/usr/local/texlive/2008/../texmf-local,/usr/local/texlive/2008/texmfdist,/usr/local/texlive/2008/texmf,/usr/local/texlive/texmf-local}"
export LUAINPUTS="{/usr/local/texlive/texmf-local/tex/context/base,/usr/local/texlive/texmf-local/scripts/context/lua}"
export OSFONTDIR="{/Users/kavian/Library/Fonts,/Library/Fonts}"
export TEXMFSCRIPTS="{$TEXMF/scripts/context/,$TEXMF/tex/context/base}"
%%%%%%% end file ok-lua
(In case you copy and paste the above lines, beware of the wrong linebreaks due to the e-mail client).
In order to update to the latest binary of LuaTeX itself, I use svnX which can be found at
Using this application svnX one goes to the following URL in the window called "Repositories"
svn://scm.foundry.supelec.fr/svn/luatex
(one's User name is one's name, and the Password is one's e-mail address).
Then you download the latest "trunk", and once the download is done, you say
sh build.sh
which builds a binary on your machine. Then you copy the binaries created with the above command (the script tells you where the binaries have been created), into
/usr/texbin/
(at this point you need to copy with "sudo").
I have done this several times and I haven't had any problem… for the last two weeks :-)
Then if again something changes in the futur, our gurus (who are lucky enough to be at the meeting in Slovenia…) will help us!
Best regards: OK