[NTG-context] texexec command line switches missing in ruby version
Hans Hagen
pragma at wxs.nl
Wed Sep 27 14:39:25 CEST 2006
Ralf Schmitt wrote:
>> And this command works:
>>
>> texexec t.tex --result=bla
>>
>>
that's the intended usage (using the = sign)
> same here. the equal sign was missing from my command line (the perl
> version works without an equal sign).
>
hm, i never tested that and i also never assumed that -)
when i started using ruby there was no proper command line handler so i
wrote one myself; that one also hooks nicely into other pieces of the
system now
>
>> By the way, I use these two executable scripts to shorten the command
>> lines:
>>
>> $ cat /home/sanjoy/bin/texmfstart
>> #!/bin/bash
>> ruby `kpsewhich --format=texmfscripts texmfstart.rb` "$@"
>>
>> $ cat /home/sanjoy/bin/texexec
>> #!/bin/sh
>> texmfstart texexec.rb "$@"
>>
>>
>
>
normally texmfstart is a bit faster because it passes on info to the sub
processes about the env used and so
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list