From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31061 Path: news.gmane.org!not-for-mail From: Ralf Schmitt Newsgroups: gmane.comp.tex.context Subject: Re: texexec command line switches missing in ruby version Date: Wed, 27 Sep 2006 14:22:26 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1159359848 22732 80.91.229.2 (27 Sep 2006 12:24:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Sep 2006 12:24:08 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 27 14:24:05 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GSYRp-0001x3-PV for gctc-ntg-context-518@m.gmane.org; Wed, 27 Sep 2006 14:23:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 21AB31FF1D; Wed, 27 Sep 2006 14:23:32 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29315-08; Wed, 27 Sep 2006 14:23:23 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 431711FEF0; Wed, 27 Sep 2006 14:23:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6AC2A1FEF0 for ; Wed, 27 Sep 2006 14:23:17 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30244-02-2 for ; Wed, 27 Sep 2006 14:23:09 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with SMTP id 68CF41FEEC for ; Wed, 27 Sep 2006 14:23:09 +0200 (CEST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GSYQt-0001iE-Bk for ntg-context@ntg.nl; Wed, 27 Sep 2006 14:22:35 +0200 Original-Received: from mail.brainbot.com ([213.139.152.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Sep 2006 14:22:35 +0200 Original-Received: from ralf by mail.brainbot.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Sep 2006 14:22:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ntg-context@ntg.nl Original-Lines: 50 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: mail.brainbot.com User-Agent: Thunderbird 1.5.0.7 (X11/20060922) In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:31061 Archived-At: Sanjoy Mahajan wrote: > I'm not sure if your command got mangled by the mailer disliking long > lines, but it looks like you have this line: > > ralf@schrotti:~/tmp$ ~/texmf/scripts/context/ruby/texmfstart.rb texexec t.tex -- result bla.pdf > > i.e. something like "texexec t.tex -- result bla.pdf" > it was texexec t.tex --result bla.pdf (i.e. without the space between -- and result). > The texexec man entry, I think for the perl version, says: > > --result=FILENAME > Allows you to change the basename of the output > file. See --mode for an example. > > And this command works: > > texexec t.tex --result=bla > same here. the equal sign was missing from my command line (the perl version works without an equal sign). > Although at the end it says: > > TeXExec | renaming t to bla > TeXExec | restoring t > TeXExec | fatal error No such file or directory - t.tuo > > Is the last line anything to worry about, perhaps in a more complex > test file that needed the .tuo file? > > 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 "$@" > Thanks, I'm using them too, but I remember there was some confusion about "$@" versus $@ in this command.