From: Tobias Burnus <tobias.burnus@physik.fu-berlin.de>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: texexec --help
Date: Fri, 19 Sep 2003 12:03:03 +0200 [thread overview]
Message-ID: <20030919100303.GA30400@physik.fu-berlin.de> (raw)
In-Reply-To: <20030919095254.6c0b969b.morawski@gmx.net>
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
next prev parent reply other threads:[~2003-09-19 10:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-19 7:52 Jens-Uwe Morawski
2003-09-19 10:03 ` Tobias Burnus [this message]
2003-09-19 10:40 ` Jens-Uwe Morawski
2003-09-19 12:12 ` Hans Hagen
2003-09-19 10:47 ` Hans Hagen
2003-09-19 10:41 ` 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=20030919100303.GA30400@physik.fu-berlin.de \
--to=tobias.burnus@physik.fu-berlin.de \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.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).