From 95da6e7cf83e9cf42f4af857f8a23295796d935a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 3 Jul 2009 17:08:55 +0000 Subject: tex4ht-1.0.2009_06_11_1038; in memoriam, eitan git-svn-id: svn://tug.org/texlive/trunk@14086 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/tex4ht/mk4ht.pl | 37 +++++++++++++++++-------------- 1 file changed, 20 insertions(+), 17 deletions(-) (limited to 'Master/texmf-dist/scripts/tex4ht/mk4ht.pl') diff --git a/Master/texmf-dist/scripts/tex4ht/mk4ht.pl b/Master/texmf-dist/scripts/tex4ht/mk4ht.pl index 796872ece31..67e2070bf7d 100755 --- a/Master/texmf-dist/scripts/tex4ht/mk4ht.pl +++ b/Master/texmf-dist/scripts/tex4ht/mk4ht.pl @@ -1,7 +1,7 @@ #!/usr/bin/env perl #%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -# mk4ht 2007-11-14-18:40 % -# Copyright (C) 2003--2007 Eitan M. Gurari % +# mk4ht 2008-06-28-19:09 % +# Copyright (C) 2003--2008 Eitan M. Gurari % # % # % # This work may be distributed and/or modified under the % @@ -24,6 +24,11 @@ use strict; $^W=1; # turn warning on +my $texFile = ''; +if( @ARGV ){ + my(@array) = split('\.',@ARGV[1]); + $texFile = @array[0]; +} my @options = ( "", "ht", "", "", "", "-cvalidatehtml", "ht", "htlatex", "latex", "", "", "-cvalidatehtml", @@ -106,18 +111,18 @@ my @options = ( "w", "wcontext", "context", "xhtml,word", " -csymhtf", "", "w", "wxelatex", "xelatex", "xhtml,word", " -csymhtf", "", "w", "wxetex", "xetex", "xhtml,word", " -csymhtf", "", - "jh", "jhlatex", "latex", "html,javahelp,3.2,unicode", " -cmozhtf -u10", " -d%1-doc/ -cjavahelp -cvalidatehtml", - "jh", "jhtex", "tex", "html,javahelp,3.2,unicode", " -cmozhtf -u10", " -d%1-doc/ -cjavahelp -cvalidatehtml", - "jh", "jhtexi", "texi", "html,javahelp,3.2,unicode", " -cmozhtf -u10", " -d%1-doc/ -cjavahelp -cvalidatehtml", - "jh", "jhcontext","context", "html,javahelp,3.2,unicode", " -cmozhtf -u10", " -d%1-doc/ -cjavahelp -cvalidatehtml", - "jh", "jhxelatex", "xelatex", "html,javahelp,3.2,unicode", " -cmozhtf -u10", " -d%1-doc/ -cjavahelp -cvalidatehtml", - "jh", "jhxetex", "xetex", "html,javahelp,3.2,unicode", " -cmozhtf -u10", " -d%1-doc/ -cjavahelp -cvalidatehtml", - "jh1", "jh1latex", "latex", "html,javahelp,3.2,unicode,jh1.0", " -cmozhtf -u10", " -d%1-doc/ -cjavahelp", - "jh1", "jh1tex", "tex", "html,javahelp,3.2,unicode,jh1.0", " -cmozhtf -u10", " -d%1-doc/ -cjavahelp", - "jh1", "jh1texi", "texi", "html,javahelp,3.2,unicode,jh1.0", " -cmozhtf -u10", " -d%1-doc/ -cjavahelp", - "jh1", "jh1context","context", "html,javahelp,3.2,unicode,jh1.0", " -cmozhtf -u10", " -d%1-doc/ -cjavahelp", - "jh1", "jh1xelatex", "xelatex", "html,javahelp,3.2,unicode,jh1.0", " -cmozhtf -u10", " -d%1-doc/ -cjavahelp", - "jh1", "jh1xetex", "xetex", "html,javahelp,3.2,unicode,jh1.0", " -cmozhtf -u10", " -d%1-doc/ -cjavahelp", + "jh", "jhlatex", "latex", "html,javahelp,xml,3.2,unicode", " -cmozhtf -u10", " -d$texFile-doc/ -cjavahelp -cvalidatehtml", + "jh", "jhtex", "tex", "html,javahelp,xml,3.2,unicode", " -cmozhtf -u10", " -d$texFile-doc/ -cjavahelp -cvalidatehtml", + "jh", "jhtexi", "texi", "html,javahelp,xml,3.2,unicode", " -cmozhtf -u10", " -d$texFile-doc/ -cjavahelp -cvalidatehtml", + "jh", "jhcontext","context", "html,javahelp,xml,3.2,unicode", " -cmozhtf -u10", " -d$texFile-doc/ -cjavahelp -cvalidatehtml", + "jh", "jhxelatex", "xelatex", "html,javahelp,xml,3.2,unicode", " -cmozhtf -u10", " -d$texFile-doc/ -cjavahelp -cvalidatehtml", + "jh", "jhxetex", "xetex", "html,javahelp,xml,3.2,unicode", " -cmozhtf -u10", " -d$texFile-doc/ -cjavahelp -cvalidatehtml", + "jh1", "jh1latex", "latex", "html,javahelp,xml,3.2,unicode,jh1.0", " -cmozhtf -u10", " -d$texFile-doc/ -cjavahelp", + "jh1", "jh1tex", "tex", "html,javahelp,xml,3.2,unicode,jh1.0", " -cmozhtf -u10", " -d$texFile-doc/ -cjavahelp", + "jh1", "jh1texi", "texi", "html,javahelp,xml,3.2,unicode,jh1.0", " -cmozhtf -u10", " -d$texFile-doc/ -cjavahelp", + "jh1", "jh1context","context", "html,javahelp,xml,3.2,unicode,jh1.0", " -cmozhtf -u10", " -d$texFile-doc/ -cjavahelp", + "jh1", "jh1xelatex", "xelatex", "html,javahelp,xml,3.2,unicode,jh1.0", " -cmozhtf -u10", " -d$texFile-doc/ -cjavahelp", + "jh1", "jh1xetex", "xetex", "html,javahelp,xml,3.2,unicode,jh1.0", " -cmozhtf -u10", " -d$texFile-doc/ -cjavahelp", ); @@ -211,7 +216,7 @@ print " clean.htlatex lg tmp\n"; } -print "mk4ht (2007-11-14-18:40)\n"; +print "mk4ht (2008-06-28-19:09)\n"; if( !@ARGV ){ print "improper command\n"; showInstrucions(); exit(1); @@ -366,8 +371,6 @@ if( $rtrn = system($commando) ){ } else { my $file; my $ext; -my(@array) = split('\.',@ARGV[1]); -my $texFile = @array[0]; opendir(DIR,".") ; while ($file = readdir(DIR) ){ if(index($file,$texFile) == 0 ){ -- cgit v1.2.3