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