shige 03/04 2020 ---------------- I wrote at 2020-02-25: | I send some patches at 2019-12-29 and 2020-02-17, but I made some | mistakes. Also I found a new patch.
I found one mistake again. I send the info, and new patches. 6) typo | 5) TeXLive may have Ghostscript in /texlive/YYYY/tlpkg/tlgs, but | search target file "gs_init.ps" may not be in it. | | ----- from here ----- | --- config/config.pl.ORG 2019-12-29 21:03:30.834019000 +0900 | +++ config/config.pl 2019-12-29 21:09:43.430880000 +0900 | @@ -1266,10 +1266,16 @@ | my @right_paths = (); | my $gs_lib = 0; | my $gs_fonts = 0; | + # 2017-04-11 shige: 2-24) | + my $gs_stand_ps; | Gslibpaths: foreach $path (@try_path) { | foreach('',"$dd$gs_version","${dd}gs$gs_version") { | my $testpath = $path . $_; | - if(!$gs_lib && -d $testpath && -s "$testpath${dd}gs_init.ps") { | + # if(!$gs_lib && -d $testpath && -s "$testpath${dd}gs_init.ps") { | + # 2017-04-11, 2019-12-03 shige: 2-24) | + if ($testpath =~ /tlgs/) { $gs_stand_ps = "landscape.ps"; } The name "landscape.ps" should be "landscap.ps". 7) absolute path for Win ----- From here ----- --- latex2html.pin.ORG 2019-12-29 21:03:41.052544000 +0900 +++ latex2html.pin 2020-03-04 19:34:22.290342000 +0900 @@ -2293,7 +2293,9 @@ if (-f "${PREFIX}internals.pl") { my $file = "${PREFIX}internals.pl"; - if ($file !~ /^\Q$dd\E/) { + # if ($file !~ /^\Q$dd\E/) { + # 2020-03-03 shige: 2-43) + if (!L2hos->is_absolute_path(file)) { $file = ".$dd$file"; } require ($file); ----- To here ----- 8) output of config/config.pl for pnmcrop and ppmtogif At doing configure script, outputs for pnmcrop and ppmtogif are: ... checking for pnmcrop... /usr/local/bin/pnmcrop /usr/local/bin/pnmcropyes ... checking for ppmtogif... /usr/local/bin/ppmtogif yes checking if ppmtogif can make interlaced GIFs... yes ... but these lines are strange. The following patch may fix it. ----- From here ----- --- config/config.pl.ORG 2019-12-29 21:03:30.834019000 +0900 +++ config/config.pl 2020-03-04 19:32:25.874598000 +0900 @@ -1381,9 +1381,11 @@ $vers = $1; ($major_vers) = $vers =~ /^(\d+)/; } + # 2020-03-03 shige: 2-17) + &checking('if pnmcrop can crop from one direction'); if ($major_vers =~ /^199/) { # try left crop - &checking('if pnmcrop can crop from one direction'); + # &checking('if pnmcrop can crop from one direction'); my $timg = "config${dd}timg.pnm"; ($stat,$msg,$err) = &get_out_err("$pnmcrop -l $timg"); } elsif ($major_vers > 8) { @@ -1400,7 +1402,8 @@ $newcfg{'PNMCROPOPT'} = ' -sides '; } } else { $newcfg{'PNMCROPOPT'} = ' -sides '; } - print "\n$pnmcrop"; + # 2020-03-03 shige: 2-17) + # print "\n$pnmcrop"; $msg = 'there is nothing to crop'; $stat = ''; } else { print "\nThis $vers for $pnmcrop is not recognisable."; @@ -1517,8 +1520,10 @@ $msg = $msg || $err; my $vers = ''; if ($msg =~ /(^|\s*)Version.*\s([\d\.]+)\s*([\n\r]|$)/is) { $vers = $2; } + # 2020-03-03 shige: 2-17) + &checking('if ppmtogif can make transparent GIFs'); if ($vers =~ /^199/) { - &checking('if ppmtogif can make transparent GIFs'); + # &checking('if ppmtogif can make transparent GIFs'); # '-h' is an invalid option. Nevertheless it forces ppmtogif to output a # usage information to stderr. We'll have a closer look at that. ($stat,$msg,$err) = &get_out_err("$ppmtogif -h"); ----- To here ----- +========================================================+ Shigeharu TAKENO NIigata Institute of Technology kashiwazaki,Niigata 945-1195 JAPAN sh...@iee.niit.ac.jp TEL(&FAX): +81-257-22-8161 +========================================================+ _______________________________________________ latex2html mailing list latex2html@tug.org https://tug.org/mailman/listinfo/latex2html