Hi David,

Recently I updated to MacTeX 2008 which can be found at (thanks to Mojca…)
www.uoregon.edu/~koch/MacTeX-2008.mpkg.zip

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

http://www.apple.com/downloads/macosx/development_tools/svnx.html

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

On 21 août 08, at 20:49, David Arnold wrote:

All,

If you have a MacTex installation, how  can you safely update the context installation that comes with MacTex?

David Arnold
College of the Redwoods
Mathematics Department
Eureka, CA 95501
(707) 476-4222


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