Hi, yesterday i've updated context and was surprised that texexec --help only shows: [jens@melior context]$ texexec --help TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003 --arrange process and arrange --batch run in batch mode (don't pause) --centerpage center the page on the paper --color enable color (when not yet enabled) --environment load some environments first =name : list of environments --fast skip as much as possible --figures typeset figure directory =a : room for corrections =b : just graphics =c : one (cropped) per page --nonstop run in non stop mode (don't pause) --usemodule load some modules first =name : list of modules --xmlfilter apply XML filter =name : list of filters Even 'texexec --help interface' results in no message at all. How can i get the remaining command line options listed? Thanks. Jens
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
On Fri, 19 Sep 2003 12:03:03 +0200
Tobias Burnus
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
this only shows some few more options, but still not all. For example '--help pdf' should show many options, i.e. --pdf, --pdfarange, --pdfselect, but it only gives: [jens@melior jens]$ texexec --help pdf TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003 There is something wrong in the help system... Jens
At 12:40 19/09/2003 +0200, you wrote:
There is something wrong in the help system...
i'll leave that to Wybo (when he's back from vacation) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
At 12:03 19/09/2003 +0200, you wrote:
- 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 ) {
^^^^^^^^^ delete this
+ $MPJobName = "$MPfile.mp" + } else { $MPJobName = "" }
ok, i fixed this, btw, your patch introduces a new bug -) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
At 09:52 19/09/2003 +0200, you wrote:
yesterday i've updated context and was surprised that texexec --help only shows:
Even 'texexec --help interface' results in no message at all. How can i get the remaining command line options listed?
ah, this version is kind of cleaned up (made strict safe by wybo) and somethign got lost in the help system; i fixed it Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Jens-Uwe Morawski
-
Tobias Burnus