On Sat, Apr 4, 2009 at 11:35, Markus Hubig
Hi @all,
i've done a fresh install of ConTeXt Minimals on my Mac OS X box. Now I like to put my setup steps into a small script so my brother can use it. It wold be nice if someone can give me some comments ... maybe I missed something, maybe I did something stupid!
I would not install it to /Applications; it doesn't behave like a Mac application, but that's completely up to you.
# Fix some path values inside setuptex cd /Applications/ConTeXtMinimals/tex cp setuptex setuptex.orig sed -e 's#^export HOMETEXMF .*$#export HOMETEXMF = ~/texmf#g' \ -e 's#^export TEXMF .*$#export TEXMF = {$HOMETEXMF,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}#g' \ setuptex.orig > setuptex
No time to comment extensively, but you don't need to rename it back to setuptex. Just create "mysetuptex/mytex" and call that one. If you rename it to setuptex, it will get rewritten next time when you update.
# Fix some path values inside texmf.cnf cd /Applications/ConTeXtMinimals/tex mkdir -p texmf-local/web2c cp texmf/web2c/texmf.cnf texmf-local/web2c/texmf.orig cd texmf-local/web2c sed -e 's#^HOMETEXMF .*$#HOMETEXMF = ~/texmf#g' \ -e 's#^TEXMF .*$#TEXMF = {$HOMETEXMF,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}#g' \ texmf.orig > texmf.cnf
That's OK. Mojca