On Wed, Mar 31, 2010 at 14:32, Marco wrote:
Hi,
Do you have all the formats generated? (mptopdf etc.)
No. Thanks for the hint (the logfile also told me, I know now). It works now. The problem was that I use a system-wide setup and the $TEXMFCACHE tree was not writable by the users. I now introduced the »chmod« line, see below.
I'm not an expert. This is how I update my system. Is this correct? Or can the metafun format also be generated by root, so I can remove the world write access?
# sh first-setup.sh --extras=all # . /usr/local/share/context/tex/setuptex # cp luatex-0.52 /usr/local/share/context/bin/luatex # cp luatex-0.52 /usr/local/share/context/tex/texmf-linux/bin/luatex # chmod -R a+rwx /usr/local/share/context/te/texmf-cache
You can most probably do export TEXMFCACHE=~/.context/texmf-cache as well (but then every user would have to generate his own database).
# luatools --generate # texhash # context --make # texexec --make
$ context test.tex
BTW: Can I achieve that the luatex binary will not be overwritten by first-setup.sh?
Do you mean because of the old luatex binary (Hans seems to have been a bit busy in the meantime) in linux or is there some other reason? In theory you can do ./first-setup.sh --flags='[you need a pattern to ignore luatex binary when syncing]' An alternative would be to add texmf-local/bin to PATH and put your version of luatex to that place. If you have a script, you don't need to call setuptex. It should be enough to set the PATH variable properly. Mojca