Hi Nigel,

you can start the script as a parameter to ruby:

bash-2.05a$ ruby texsync.rb --update --force --destination=/tmp/textest

or you add a line to texsync.rb (has to be the first line) to tell your unix which interpreter to run:


then you can start it simply with:

bash-2.05a$ texsync.rb --update --force --destination=/tmp/textest

Hope this helps,


Nigel King wrote:

I have read this manual.
Downloaded texsync.rb and put it into my personal bin location.
I have ruby. I have made texsync.rb executable chmod +x texsync.rb.
The commands still don't quite work as required - any hints.

Terminal listing
[Nigel-Kings-G4-Lap:~/bin] nigelk% which ruby
[Nigel-Kings-G4-Lap:~/bin] nigelk% ruby --version
ruby 1.6.7 (2002-03-01) [powerpc-darwin6.0]
[Nigel-Kings-G4-Lap:~/bin] nigelk% texsync --update
texsync: Command not found.
[Nigel-Kings-G4-Lap:~/bin] nigelk% texsync.rb --update
Running /Users/nigelk/.cshrc
: Command not found.
require: Command not found.
: Command not found.
print: Command not found.
: Command not found.
directives: Command not found.
helpinfo: Command not found.
default: Too many arguments.
So what am I doing wrong?

ntg-context mailing list

Reply via email to