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
On Mon, Sep 22, 2008 at 12:03 PM, Robert Blackstone
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
Whoooops. 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.
participants (2)
-
Mojca Miklavec
-
Robert Blackstone