Re: [NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008
Hi Mojca, Thank you for your help. My problem is not over though, and a new problem has turned up. The first steps you described, In NTG-context Digest Vol 51, issue 81, message 8, worked, that is, with sudo. However, the last four commands, texexec --make --all, texexec --make --xtx --all, luatools --generate and context --make, returned the usual error messages (with and without sudo and and issued from any directory along the path /usr/local/texlive/2008/bin/universal-darwin): RBs-Powerbook:/ robert$ sudo texexec --make --all sudo: texexec: command not found RBs-Powerbook:/ robert$ sudo texexec --make --xtx --all sudo: texexec: command not found RBs-Powerbook:/ robert$ sudo luatools --generate 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.009 seconds RBs-Powerbook:/ robert$ sudo context --make sudo: context: command not found In addition another problem has turned up: I cannot use Context anymore, with TeXlive-2008 and TeXshop. When typesetting a file I get the following message: /Users/robert/Library/TeXShop/Engines/context.engine: line 3: /usr/texbin/texmfstart: Permission denied Line 3 of context.engine reads: texmfstart texexec --pdf --passon=-synctex=1 $1 I already changed permissions of file texmfstart.rb to: Owner robert, Read Write. It didn't help. When I choose TeXlive-2007 ConTeXt works OK. So, what could I do about these two problems (which may be unconnected)? Thanks in advance. Robert Blackstone ___ 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 ___
Re: [NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008
On Mon, Sep 22, 2008 at 12:03 PM, Robert Blackstone [EMAIL PROTECTED] wrote: Hi Mojca, Thank you for your help. My problem is not over though, and a new problem has turned up. The first steps you described, In NTG-context Digest Vol 51, issue 81, message 8, worked, that is, with sudo. However, the last four commands, texexec --make --all, texexec --make --xtx --all, luatools --generate and context --make, returned the usual error messages (with and without sudo and and issued from any directory along the path /usr/local/texlive/2008/bin/universal-darwin): RBs-Powerbook:/ robert$ sudo texexec --make --all sudo: texexec: command not found RBs-Powerbook:/ robert$ sudo texexec --make --xtx --all sudo: texexec: command not found RBs-Powerbook:/ robert$ sudo luatools --generate 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.009 seconds RBs-Powerbook:/ robert$ sudo context --make sudo: context: command not found In addition another problem has turned up: I cannot use Context anymore, with TeXlive-2008 and TeXshop. When typesetting a file I get the following message: /Users/robert/Library/TeXShop/Engines/context.engine: line 3: /usr/texbin/texmfstart: Permission denied Line 3 of context.engine reads: texmfstart texexec --pdf --passon=-synctex=1 $1 I already changed permissions of file texmfstart.rb to: Owner robert, Read Write. It didn't help. When I choose TeXlive-2007 ConTeXt works OK. So, what could I do about these two problems (which may be unconnected)? Thanks in advance. Robert Blackstone Whps. Apparently sudo (root) user doesn't know about TeXLive paths, and you might not have sufficient rights to modify the files yourself. Are you the only user of your computer? Who's currently the owner of /usr/local/texlive? I would do the following (though it's *not* a general recipe): sudo chown -R yourname:yourgroup /usr/local/texlive (may take a while) and then repeat the steps without sudo. Possibly you want to change the owner back to root afterwards. rsync with sudo indeed behaves a bit weird, and without sudo you are probably not able to overwrite those files. Mojca PS: Honestly, I'm also not sure if texexec --make will use the right directory to store formats (if you update TL later, it might shield the system formats in some cases). Maybe I was using sudo fmtutil-sys --byfmt cont-en or sudo fmtutil-sys --all when generating MKII the formats (instead of texexec --make). But I don't remember. ___ 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 ___
Re: [NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008 (again)
Hi Mojca, Many thanks for your attention and insight. I tried what you said and I put all the instructions you gave in a file I am sending you: it is meant (once all the steps work fine) to become a file updating-context.sh which could be excuted in a Terminal window upon saying sh updating-context.sh Now mkii can be updated following your instructions after fixing some chmod issues. If the remaining problems described in the attached file are solved in such a way that a non specialist like me can uderstand, then I'll put the script and the explanations of the commands on the wiki. I presume it will be helpful for others too… Thank you for your time! Best regards: OK updating-context Description: Binary data On 21 sept. 08, at 22:44, Mojca Miklavec wrote: On Sat, Sep 20, 2008 at 12:08 PM, Otared Kavian wrote: On 19 sept. 08, at 20:31, Mojca Miklavec wrote: On Fri, Sep 19, 2008 at 6:56 PM, Otared Kavian wrote: Has something changed recently in the ways TEXMFCNF has to be set? Thanks to Oliver's pressing on Hans Taco :), you don't need to set anything any more. And yes, that has been changed after TL freeze. On Mac, the situation with LuaTeX configuration has changed *considerably* and in some very important ways after ConTeXt LuaTeX have been frozen for TeX Live. Hi Mojca, Thanks for the information. How can one find out how to adapt the new parameters (TEXMFCNF, and alike)? I would not adapt anything apart from TEXMFCACHE. I updated ConTeXt, luatex binary and ConTeXt scripts manually, and it works fine now, though I never use --updatecontext. What do you mean by manually? Do you mean unzipping the file context/current/cont-tmf.zip or context/beta/cont-tmf.zip into /usr/local/texlive or into either of /usr/local/texlive/2008 or /usr/local/texlive/texmf-local ? Thanks again for your attention: OK See the other post. I update ConTeXt directly into /usr/local/texlive/2008/texmf-dist, though updating into texmf-local or into ~/.texlive2008 would be just as valid. I update with rsync, but using the zips is just as fine. Apart from ConTeXt you also need to update LuaTeX binary (/usr/texbin = /usr/local/texlive/2008/bin/universal-darwin). Again - see the other post. Mojca ___ 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 ___ ___ 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 ___
Re: [NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008 (again)
On Mon, Sep 22, 2008 at 3:05 PM, Otared Kavian wrote: Hi Mojca, Many thanks for your attention and insight. I tried what you said and I put all the instructions you gave in a file I am sending you: it is meant (once all the steps work fine) to become a file updating-context.sh which could be excuted in a Terminal window upon saying sh updating-context.sh ctxtools --updatecontext is supposed to do that, but it has some problems. One thing that needs to be fixed in your script: - recognising platform should be automatic paths should be fixed - you should check first if one really has TL 2008 installed; on other platforms your assumptions won't work But on the other hand, it might make more sense to resolve problems with Norbert's script, and then offer proper updates. Honestly, I would not like these updating procedures to spread around too much, since you'll then have people asking you completely weird questions. TeX Live is not supposed to be updated the way I told you. Now mkii can be updated following your instructions after fixing some chmod issues. Those chmod problems should be fixed on the server. If the remaining problems described in the attached file are solved in such a way that a non specialist like me can uderstand, then I'll put the script and the explanations of the commands on the wiki. I presume it will be helpful for others too… You don't need export TEXMFCNF #I added this because the file in question was missing # the execute bit sudo chmod 755 /usr/texbin/texexec That should be fixed in ConTeXt zips themselves, but I bet that the program that Hans uses and 99% of other compression programs do not allow setting executable bits anywhere. So it might be a good hint to post-modify files on the garden. Concerning MKIV: I have found one extremely weird thing in my TL bin: luatools - ../../texmf-dist/scripts/context/stubs/unix/luatools This looks a bit problematic to me. Please wait for Taco's or Karl's answer. I have never noticed that weird thing so far. Mojca ___ 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 ___
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 ___ 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 ___
Re: [NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008 (again)
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 ___ 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 ___
Re: [NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008 (again)
On Sat, Sep 20, 2008 at 12:08 PM, Otared Kavian wrote: On 19 sept. 08, at 20:31, Mojca Miklavec wrote: On Fri, Sep 19, 2008 at 6:56 PM, Otared Kavian wrote: Has something changed recently in the ways TEXMFCNF has to be set? Thanks to Oliver's pressing on Hans Taco :), you don't need to set anything any more. And yes, that has been changed after TL freeze. On Mac, the situation with LuaTeX configuration has changed *considerably* and in some very important ways after ConTeXt LuaTeX have been frozen for TeX Live. Hi Mojca, Thanks for the information. How can one find out how to adapt the new parameters (TEXMFCNF, and alike)? I would not adapt anything apart from TEXMFCACHE. I updated ConTeXt, luatex binary and ConTeXt scripts manually, and it works fine now, though I never use --updatecontext. What do you mean by manually? Do you mean unzipping the file context/current/cont-tmf.zip or context/beta/cont-tmf.zip into /usr/local/texlive or into either of /usr/local/texlive/2008 or /usr/local/texlive/texmf-local ? Thanks again for your attention: OK See the other post. I update ConTeXt directly into /usr/local/texlive/2008/texmf-dist, though updating into texmf-local or into ~/.texlive2008 would be just as valid. I update with rsync, but using the zips is just as fine. Apart from ConTeXt you also need to update LuaTeX binary (/usr/texbin = /usr/local/texlive/2008/bin/universal-darwin). Again - see the other post. Mojca ___ 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 ___
Re: [NTG-context] Updating LuaTeX on MacTeX-TeXLive 2008
On Thu, Sep 18, 2008 at 7:03 PM, Otared Kavian wrote: Dear ConTeXters, I just updated my TeX installation with the latest MacTeX-TeXLive 2008, and since the version of LuaTeX included there was 0.25.0, I built a binary version LuaTeX, Version snapshot-0.29.0-2008091817. Now the problem is that my usual procedure for generating mkiv doesn't work and I couldn't fix the problem… (That procedure used to work fine with the previous version of MacTeX-TeXLive 2008). ... I should say that I execute also the commands 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/texmf-dist,/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} None of these setting should be necessary any more, except for TEXMFCACHE that you might set if you don't like luatex-cache to be created in your home. But some answer is in the other thread. Mojca ___ 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 ___
Re: [NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008 (again)
On 19 sept. 08, at 20:31, Mojca Miklavec wrote: On Fri, Sep 19, 2008 at 6:56 PM, Otared Kavian wrote: Has something changed recently in the ways TEXMFCNF has to be set? On Mac, the situation with LuaTeX configuration has changed *considerably* and in some very important ways after ConTeXt LuaTeX have been frozen for TeX Live. Hi Mojca, Thanks for the information. How can one find out how to adapt the new parameters (TEXMFCNF, and alike)? I updated ConTeXt, luatex binary and ConTeXt scripts manually, and it works fine now, though I never use --updatecontext. What do you mean by manually? Do you mean unzipping the file context/current/cont-tmf.zip or context/beta/cont-tmf.zip into /usr/local/texlive or into either of /usr/local/texlive/2008 or /usr/local/texlive/texmf-local ? Thanks again for your attention: OK ___ 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 ___
[NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008 (again)
Dear ConTeXters, I apologize for sending twice this message: since I did not receive it myself, I thought it has been lost… So here is my help request: I just updated my TeX installation with the latest MacTeX-TeXLive 2008, and since the version of LuaTeX included there was 0.25.0, I built a binary version LuaTeX, Version snapshot-0.29.0-2008091817. Now the problem is that my usual procedure for generating mkiv doesn't work and I couldn't fix the problem… (That procedure used to work fine with the previous version of MacTeX-TeXLive 2008). More precisely mtxrun --selfupdate seems to work fine, but then luatools --selfupdate results in: LuaTools | to be replaced old script /usr/texbin/luatools LuaTools | unable to locate new script LuaTools | LuaTools | runtime: 0.082 seconds and the command luatools --generate apparently works fine, since there is no complaints, as far as I can see. Now when I issue the command: luatools --ini --verbose --compile cont-en luatools stops after executing some commands and finally I get: LuaTools | using lua initialization file cont-en.luc LuaTools | running command: luatex --ini --lua=cont-en.luc /usr/local/texlive/texmf-local/tex/context/base/cont-en.tex \\dump (/usr/local/texlive/texmf-local/tex/context/base/cont-en.tex ! I can't find file `context.tex'. l.16 \input context.tex Please type another input file name: If I do give a complete path for this file, that is /usr/local/texlive/texmf-local/tex/context/base/context.tex (or for another one /usr/local/texlive/2008/texmf-dist/tex/context/base/context.tex) again luatools complaints about not finding the file syst-pln.tex… and so on. I should say that I execute also the commands 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/texmf-dist,/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} before the above. Since I do most of the operations without really understanding what is going on, I am sure I am doing something wrong… But what? Thanks for your help… Best regards: OK ___ 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 ___
Re: [NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008 (again)
On Fri, 19 Sep 2008, Otared KAVIAN wrote: Dear ConTeXters, I apologize for sending twice this message: since I did not receive it myself, I thought it has been lost… So here is my help request: I just updated my TeX installation with the latest MacTeX-TeXLive 2008, and since the version of LuaTeX included there was 0.25.0, I built a binary version LuaTeX, Version snapshot-0.29.0-2008091817. Now the problem is that my usual procedure for generating mkiv doesn't work and I couldn't fix the problem… (That procedure used to work fine with the previous version of MacTeX-TeXLive 2008). More precisely mtxrun --selfupdate seems to work fine, but then luatools --selfupdate results in: LuaTools | to be replaced old script /usr/texbin/luatools LuaTools | unable to locate new script LuaTools | LuaTools | runtime: 0.082 seconds I do not know how MacOX works, but do you have permissions to write on /usr/texbin as a user? If not, you would have to run sudo luatools --selfupdate and then proceed. Aditya___ 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 ___
Re: [NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008 (again)
On 19 sept. 08, at 18:00, Aditya Mahajan wrote: On Fri, 19 Sep 2008, Otared KAVIAN wrote: […] luatools --selfupdate results in: LuaTools | to be replaced old script /usr/texbin/luatools LuaTools | unable to locate new script LuaTools | LuaTools | runtime: 0.082 seconds I do not know how MacOX works, but do you have permissions to write on /usr/texbin as a user? If not, you would have to run sudo luatools --selfupdate and then proceed. Hi Aditya, Many thanks for your answer: in fact I tried once with sudo luatools --selfupdate, but the answer is: 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 | to be replaced old script /usr/texbin/luatools LuaTools | unable to locate new script LuaTools | LuaTools | runtime: 0.002 seconds Nevertheless, I have already issued the command export TEXMFCNF=/usr/local/texlive/2008/texmf/web2c/ Can it be that I have to add other paths to TEXMFCNF? In this case how one can find all these paths to add? Has something changed recently in the ways TEXMFCNF has to be set? Thanks again: OK ___ 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 ___
Re: [NTG-context] Updating LuaTeX after MacTeX-TeXLive 2008 (again)
On Fri, Sep 19, 2008 at 6:56 PM, Otared Kavian wrote: Has something changed recently in the ways TEXMFCNF has to be set? On Mac, the situation with LuaTeX configuration has changed *considerably* and in some very important ways after ConTeXt LuaTeX have been frozen for TeX Live. I updated ConTeXt, luatex binary and ConTeXt scripts manually, and it works fine now, though I never use --updatecontext. Mojca ___ 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 ___
[NTG-context] Updating LuaTeX on MacTeX-TeXLive 2008
Dear ConTeXters, I just updated my TeX installation with the latest MacTeX-TeXLive 2008, and since the version of LuaTeX included there was 0.25.0, I built a binary version LuaTeX, Version snapshot-0.29.0-2008091817. Now the problem is that my usual procedure for generating mkiv doesn't work and I couldn't fix the problem… (That procedure used to work fine with the previous version of MacTeX-TeXLive 2008). More precisely mtxrun --selfupdate seems to work fine, but then luatools --selfupdate results in: LuaTools | to be replaced old script /usr/texbin/luatools LuaTools | unable to locate new script LuaTools | LuaTools | runtime: 0.082 seconds and the command luatools --generate apparently works fine, since there is no complaints, as far as I can see. Now when I issue the command: luatools --ini --verbose --compile cont-en luatools stops after executing some commands and finally I get: LuaTools | using lua initialization file cont-en.luc LuaTools | running command: luatex --ini --lua=cont-en.luc /usr/ local/texlive/texmf-local/tex/context/base/cont-en.tex \\dump (/usr/local/texlive/texmf-local/tex/context/base/cont-en.tex ! I can't find file `context.tex'. l.16 \input context.tex Please type another input file name: If I do give a complete path for this file, that is /usr/local/texlive/texmf-local/tex/context/base/context.tex (or for another one /usr/local/texlive/2008/texmf-dist/tex/context/ base/context.tex) again luatools complaints about not finding the file syst-pln.tex… and so on. I should say that I execute also the commands 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/texmf-dist,/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} before the above. Since I do most of the operations without really understanding what is going on, I am sure I am doing something wrong… But what? Thanks for your help… Best regards: OK ___ 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 ___
[NTG-context] Updating LuaTeX
Hi, I just tried to update context with ctxtools --updatecontext. I receive though the following error while preparing the format-files (cont-en.fmt) (/Applications/luatex/tex/texmf-local/tex/context/base/core-inc.mkiv ! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/core- inc.lua:85: attempt to index global 'img' (a nil value). \ctxluabytecode ...ode .. #1 .. str) end end } \registerctxluafile ...{\the \luabytecodecounter } \fi l.21 \registerctxluafile{core-inc}{1.001} Hm, what to do? Kind regards Willi ___ 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 ___
Re: [NTG-context] Updating LuaTeX
Taco thanks! This helped. Willi On Mar 19, 2008, at 10:32 AM, Taco Hoekwater wrote: Willi Egger wrote: Hi, I just tried to update context with ctxtools --updatecontext. I receive though the following error while preparing the format-files (cont-en.fmt) (/Applications/luatex/tex/texmf-local/tex/context/base/core-inc.mkiv ! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/core- inc.lua:85: attempt to index global 'img' (a nil value). \ctxluabytecode ...ode .. #1 .. str) end end } \registerctxluafile ...{\the \luabytecodecounter } \fi l.21 \registerctxluafile{core-inc}{1.001} Hm, what to do? You need a binary of luatex 0.25.0. The best way to get one is to download the right one for your platform from the minimals http://minimals.contextgarden.net/current/bin/luatex/ Best wishes, Taco __ _ 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 __ _ ___ 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 ___
Re: [NTG-context] Updating LuaTeX
Willi Egger wrote: Hi, I just tried to update context with ctxtools --updatecontext. I receive though the following error while preparing the format-files (cont-en.fmt) (/Applications/luatex/tex/texmf-local/tex/context/base/core-inc.mkiv ! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/core- inc.lua:85: attempt to index global 'img' (a nil value). \ctxluabytecode ...ode .. #1 .. str) end end } \registerctxluafile ...{\the \luabytecodecounter } \fi l.21 \registerctxluafile{core-inc}{1.001} Hm, what to do? You need a binary of luatex 0.25.0. The best way to get one is to download the right one for your platform from the minimals http://minimals.contextgarden.net/current/bin/luatex/ Best wishes, Taco ___ 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 ___