Re: [NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008 (again)
Hello Mojca, I seem to have run into the same or similar problems as Otared Kavian. I followed the instructions on the ConTeXt wiki, but the command ''luatools --generate'' gives the error message: 'LuaTools | error unable to identify cnf file LuaTools | error unable to identify cnf file LuaTools | no cnf files found (TEXMFCNF may not be set/known) LuaTools | LuaTools | runtime: 0.008 seconds', regardless of the directory from which I issue the command, and though there is a 28 KB file texmf.cnf sitting in /usr/local/texlive/2008/texmf/web2c. As you succeeded in updating ConTeXt, luatex binary and ConTeXt scripts manually, could you please share the method with us. I for one am not sufficiently trained in unix to go there all by myself. (I'm working on a G4 PowerBook under OSX-10.4.11) Thank you in advance. Robert Blackstone
On Sun, Sep 21, 2008 at 9:55 AM, Robert Blackstone wrote:
Hello Mojca,
I seem to have run into the same or similar problems as Otared Kavian. I followed the instructions on the ConTeXt wiki, but the command
''luatools --generate'' gives the error message: 'LuaTools | error unable to identify cnf file LuaTools | error unable to identify cnf file LuaTools | no cnf files found (TEXMFCNF may not be set/known) LuaTools | LuaTools | runtime: 0.008 seconds',
regardless of the directory from which I issue the command, and though there is a 28 KB file texmf.cnf sitting in /usr/local/texlive/2008/texmf/web2c.
This has been known before the TL freeze, but Hans and Taco were afraid to break other things if they upgraded ConTeXt. The issue only affects mkiv on MacTeX, but users of mkiv should update frequently anyway.
As you succeeded in updating ConTeXt, luatex binary and ConTeXt scripts manually, could you please share the method with us. I for one am not sufficiently trained in unix to go there all by myself.
(I'm working on a G4 PowerBook under OSX-10.4.11)
There are many different ways to do that. I use(d) the following (hopefully no typos): # update luatex - single line # you can also use osx-ppc instead of osx-universal # alternatively, use "/usr/local/texlive/2008/bin/universal-darwin" instead of "/usr/texbin" # on other platforms change accordingly rsync -av rsync://contextgarden.net/minimals/current/bin/luatex/osx-universal/bin/luatex /usr/texbin/ # update context - single line (you can also use beta instead of last current) rsync -av rsync://contextgarden.net/minimals/current/context/current/ /usr/local/texlive/2008/texmf-dist/ I have also created (but it's not really needed) /usr/local/texlive/2008/texmf/web2c/texmfcnf.lua with local conf = {} conf.TEXMFCACHE = "~/Library/Caches/luatex" return conf Of course you also need: mktexlsr texexec --make --all texexec --make --xtx --all luatools --generate context --make Mojca
participants (2)
-
Mojca Miklavec
-
Robert Blackstone