ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Felix Franz <fefr@gmx.net>
Subject: Re: new manual
Date: Tue, 23 Dec 2003 13:41:13 +0100	[thread overview]
Message-ID: <3FE837E9.1020504@gmx.net> (raw)
In-Reply-To: <BC0DE312.1B322%king@dircon.co.uk>

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:

#!/usr/bin/ruby

then you can start it simply with:

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



Hope this helps,


felix



Nigel King wrote:

> Hans,
> 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
> /usr/bin/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?
> 

  parent reply	other threads:[~2003-12-23 12:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-18 15:58 Hans Hagen
2003-12-18 16:48 ` David Arnold
2003-12-23 12:18 ` Nigel King
2003-12-23 12:39   ` Hans Hagen
2003-12-23 13:16     ` Nigel King
2003-12-23 13:55       ` Hans Hagen
2003-12-23 15:20         ` Nigel King
2003-12-23 19:50           ` Hans Hagen
2003-12-23 14:29       ` Janko Hauser
2003-12-23 12:41   ` Felix Franz [this message]
2003-12-23 14:14   ` Tobias Burnus
  -- strict thread matches above, loose matches on Subject: below --
2013-04-11 21:42 Vyatcheslav Y.
2013-03-27 12:38 Hans Hagen
2013-03-27 19:54 ` Mikael Morin
2013-03-28  1:14   ` Hans Hagen
2013-03-27 20:15 ` Marcin Borkowski
2013-03-27 21:58   ` Hans Hagen
2013-04-02 19:36 ` Willi Egger
2013-04-11 16:50   ` Giulio Bertellini
2002-12-02 13:47 Hans Hagen
2002-12-02 15:59 ` Tobias Burnus
1998-08-12 17:32 Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FE837E9.1020504@gmx.net \
    --to=fefr@gmx.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).