From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13353 Path: main.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: Re: texexec --help Date: Fri, 19 Sep 2003 12:03:03 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <20030919100303.GA30400@physik.fu-berlin.de> References: <20030919095254.6c0b969b.morawski@gmx.net> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063966188 7431 80.91.224.253 (19 Sep 2003 10:09:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 19 Sep 2003 10:09:48 +0000 (UTC) Cc: Hans Hagen Original-X-From: ntg-context-admin@ntg.nl Fri Sep 19 12:09:46 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A0ICw-0007QY-00 for ; Fri, 19 Sep 2003 12:09:46 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 4A7DB10B45; Fri, 19 Sep 2003 12:09:44 +0200 (MEST) Original-Received: from down.physik.fu-berlin.de (down.physik.fu-berlin.de [160.45.34.6]) by ref.ntg.nl (Postfix) with ESMTP id D799310B45 for ; Fri, 19 Sep 2003 12:03:05 +0200 (MEST) Original-Received: from g25.physik.fu-berlin.de (g25.physik.fu-berlin.de [160.45.34.125]) by down.physik.fu-berlin.de (8.11.1/8.9.1) with ESMTP id h8JA34a1242618; Fri, 19 Sep 2003 12:03:04 +0200 (CEST) X-Envelope-From: tburnus@physik.fu-berlin.de X-ZEDV-BeenThere: nukleon Original-Received: from tburnus by g25.physik.fu-berlin.de with local (Exim 3.35 #1 (Debian)) id 1A0I6R-00082o-00; Fri, 19 Sep 2003 12:03:03 +0200 Original-To: ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <20030919095254.6c0b969b.morawski@gmx.net> User-Agent: Mutt/1.3.28i Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13353 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13353 On Fri, Sep 19, 2003 at 09:52:54AM +0200, Jens-Uwe Morawski wrote: > yesterday i've updated context and was surprised that texexec --help > only shows: > [jens@melior context]$ texexec --help Try texexec --help all There is somewhere a bug hidden in the new help system since this is never shown: " --help overview of all options and their values\n" . " --help all all about all options\n" . " --help short just the main options\n" . " --help mode ... pdf all about a few options\n" . " --help '*.pdf' all about options containing 'pdf'\n"; I also encountered a bug: Use of uninitialized value in integer gt (>) at/home/tburnus/bin/texexec line 903. Use of uninitialized value in integer gt (>) at/home/tburnus/bin/texexec line 903. Patch: --- /home/tburnus/texmf/context/perltk/texexec.pl Tue Sep 16 20:57:04 2003 +++ texexec.pl Fri Sep 19 11:54:40 2003 @@ -900,9 +900,11 @@ my $JobName = shift; my $MPfile = shift; my $MPJobName = ''; - if ( -s "$JobName-$MPfile.mp" > 100 ) { $MPJobName = "$JobName-$MPfile.mp" } - elsif ( -s "$MPfile.mp" > 100 ) { $MPJobName = "$MPfile.mp" } - else { $MPJobName = "" } + if ( -e "$JobName-$MPfile.mp" && -s "$JobName-$MPfile.mp" > 100 ) { + $MPJobName = "$JobName-$MPfile.mp" + } elsif ( -e "$JobName-$MPfile.mp" && -s "$MPfile.mp" > 100 ) { + $MPJobName = "$MPfile.mp" + } else { $MPJobName = "" } return $MPJobName; } Tobias