On Tue, Jan 15, 2008 at 12:43:35AM +0100, Mojca Miklavec wrote:
texmfstart is usually "copy texmfstart.rb to texmfstart in bin and make it executable". The drawback is that if something changes, it needs to be updated in the bin folder as well.
Hello Mojca, that's why a stub is useful.
Isn't this a bit dangerous if scripts move around? script=$(dirname $0)/../../ruby/texmfstart.rb
Indeed, it works only, if you don't move it... My idea was ---to simplify my installation script--- only to add execution bits to .../stubs/unix/* and add .../stubs/unix to the PATH. But texmfstart seems to be an exception, I'll just keep my symbolic link.
(In case that you figure out some more details about "context" stub, please let me know ... I didn't manage to make it work either. It seemed as if luatex didn't manage to find mtx-context.)
It works for me, if I put .../scripts/context/lua/context into my PATH and add the --run option to the mtxrun call. And $@ should be "$@" of course. (This stub is fine, because it means "context file" = the future and "texexec file" = the past.) Cheers, Peter -- http://pmrb.free.fr/contact/