On Jul 14, 2006, at 2:23 PM, Alan Bowen wrote:
I downloaded the latest ConTeXt and tried regenerating the hyphenation patterns and formats (to get hyphenation with Thomas’ Greek module). The first step texmfstart ctxtools --pat was successful. But sudo texmfstart texexec --make --all (which worked with the last ConTeXt installation) and sudo -H texmfstart texexec --make --all failed with the error message sudo: texmfstart: command not found. [...]
Does it matter that I have the line alias texmfstart='ruby /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texmfstart.rb' in my .profile rather than an executable version of the texmfstart script in my $PATH?
Yes -- sudo doesn't know about shell aliases, it's trying to find an executable file named texmfstart in your PATH.
If it does, is there a way to set things so that texmfstart is automatically available to the administrator and user whenever a Terminal session is begun?
Yes, by saving the following script as texmfstart in /usr/local/bin or wherever is appropriate: #!/bin/sh exec ruby /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texmfstart.rb "$@" (Everything from 'exec' to '"$@"' should be on a single line.) If you're using sudo while logged in as yourself (i.e., not root), this texmfstart script can be anywhere in your PATH. Paul.
Alan_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
--
Paul Hoffman