diff options
| author | Hans Hagen <pragma@wxs.nl> | 2002-01-24 00:00:00 +0100 | 
|---|---|---|
| committer | Hans Hagen <pragma@wxs.nl> | 2002-01-24 00:00:00 +0100 | 
| commit | 492154026fb3d8fa46a58ed89edce6a596e341ad (patch) | |
| tree | 9b3d47bea73c10d7a85efcf9b55bd7f6e93ef4a8 /context/perltk/texexec.pl | |
| parent | 736de6a312c37fbb8cea65cf0a86eda7dbbe0575 (diff) | |
| download | context-492154026fb3d8fa46a58ed89edce6a596e341ad.tar.gz | |
stable 2002.01.24
Diffstat (limited to 'context/perltk/texexec.pl')
| -rwxr-xr-x[-rw-r--r--] | context/perltk/texexec.pl | 12 | 
1 files changed, 10 insertions, 2 deletions
| diff --git a/context/perltk/texexec.pl b/context/perltk/texexec.pl index ca9eb8abc..7d7a27af5 100644..100755 --- a/context/perltk/texexec.pl +++ b/context/perltk/texexec.pl @@ -3,6 +3,7 @@ eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' && eval 'exec perl -S $0 $  # todo: second run of checksum of mp file with --nomprun changes  # todo: merge wybo's enhanced help function [along with updating manual] +# todo: warning if no args  #D \module  #D   [       file=texexec.pl, @@ -1974,6 +1975,14 @@ sub load_set_file  if ($SetFile ne "")    { load_set_file ($SetFile,$Verbose) } +# todo : more consistent argv handling +#  +# sub ifargs  +#   { $problems = (@ARGV==0) ;   +#     if ($problems) +#       { print "               warning : nothing to do\n" } +#     return $problems }  +  if ($TypesetListing)    { RunListing (@ARGV) }  elsif ($TypesetFigures) @@ -1988,8 +1997,7 @@ elsif ($MakeFormats)      else        { RunFormats } }  elsif (@ARGV) -  { #foreach (@ARGV) { $_ =~ s/\.tex//io } -    @ARGV = <@ARGV> ; RunFiles } +  { @ARGV = <@ARGV> ; RunFiles }  else    { print $Help{HELP} ;      unless ($Verbose) { print $Help{VERBOSE} } } | 
