Hello community,

here is the log from the commit of package latex2html for openSUSE:Factory 
checked in at 2013-12-05 07:13:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/latex2html (Old)
 and      /work/SRC/openSUSE:Factory/.latex2html.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "latex2html"

Changes:
--------
--- /work/SRC/openSUSE:Factory/latex2html/latex2html.changes    2013-09-11 
12:17:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.latex2html.new/latex2html.changes       
2013-12-05 07:13:38.000000000 +0100
@@ -1,0 +2,13 @@
+Mon Nov 25 14:59:53 UTC 2013 - [email protected]
+
+- updated to version 2012:
+  * fix warnings in perl 5.14
+  * build fixes
+- latex2html-2008.diff was split to share-dir.patch, local.pm 
+  (source) and latex2html.1 (source)
+- buildroot.diff was renamed to dest-dir.diff and that was extended
+  to install icons properly
+- fix-defined.patch was removed (upstreamed)
+- manual.ps.gz was removed
+
+-------------------------------------------------------------------

Old:
----
  latex2html-2008-binmode.diff
  latex2html-2008-buildroot.diff
  latex2html-2008-gsout.diff
  latex2html-2008-match-multiline.patch
  latex2html-2008-perl-bindir.diff
  latex2html-2008.diff
  latex2html-2008.tar.gz
  latex2html-README.SuSE
  latex2html-backref-workaround.diff
  latex2html-fix-defined.patch
  latex2html-manual.ps.gz

New:
----
  latex2html-2012-backref-workaround.diff
  latex2html-2012-binmode.diff
  latex2html-2012-dest-dir.diff
  latex2html-2012-gsout.diff
  latex2html-2012-match-multiline.diff
  latex2html-2012-perl-bindir.diff
  latex2html-2012-share-dir.diff
  latex2html-2012.tgz
  latex2html-README.SUSE
  latex2html.1
  local.pm

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ latex2html.spec ++++++
--- /var/tmp/diff_new_pack.YwJifv/_old  2013-12-05 07:13:40.000000000 +0100
+++ /var/tmp/diff_new_pack.YwJifv/_new  2013-12-05 07:13:40.000000000 +0100
@@ -21,40 +21,39 @@
 BuildRequires:  ghostscript-fonts-std
 BuildRequires:  ghostscript-x11
 BuildRequires:  netpbm
+BuildRequires:  texlive-dvips
 BuildRequires:  texlive-kpathsea
 BuildRequires:  texlive-latex
 BuildRequires:  xorg-x11
 BuildRequires:  xorg-x11-devel
 %{expand: %%global _texmfmaindir %(kpsewhich -expand-var='$TEXMFMAIN')}
 %define share_dir /usr/share/latex2html
-Obsoletes:      l2h
-Provides:       l2h
 Url:            http://www.latex2html.org/
-Provides:       l2h99_1
 Requires:       ghostscript_any
 Requires:       latex2html-pngicons
 Requires:       netpbm
 Requires:       perl
+Requires:       texlive-dvips
 Requires:       texlive-latex
-Version:        2008
+Version:        2012
 Release:        0
-Summary:        LaTeX2HTML Converter
+Summary:        LaTeX to HTML Converter
 License:        GPL-2.0+
 Group:          Productivity/Publishing/TeX/Utilities
 BuildArch:      noarch
-Source:         
http://www.latex2html.org/~latex2ht/current/%{name}-%{version}.tar.gz
-Source1:        latex2html-manual.ps.gz
-Source2:        latex2html-manual.tar.bz2
-Source3:        latex2html-README.SuSE
-Source4:        testfile.tex
-Patch:          latex2html-%{version}.diff
-Patch1:         latex2html-%{version}-binmode.diff
-Patch2:         latex2html-%{version}-gsout.diff
-Patch3:         latex2html-%{version}-buildroot.diff
-Patch4:         latex2html-%{version}-perl-bindir.diff
-Patch5:         latex2html-%{version}-match-multiline.patch
-Patch6:         
http://patch-tracker.debian.org/patch/series/dl/latex2html/2008-debian1-9/latex2html-fix-defined.patch
-Patch7:         latex2html-backref-workaround.diff
+Source0:        
http://mirrors.ctan.org/support/latex2html/latex2html-%{version}.tgz
+Source1:        latex2html-manual.tar.bz2
+Source2:        latex2html-README.SUSE
+Source3:        testfile.tex
+Source4:        local.pm
+Source5:        latex2html.1
+Patch0:         latex2html-%{version}-share-dir.diff
+Patch1:         latex2html-%{version}-perl-bindir.diff
+Patch2:         latex2html-%{version}-dest-dir.diff
+Patch3:         latex2html-%{version}-binmode.diff
+Patch4:         latex2html-%{version}-gsout.diff
+Patch5:         latex2html-%{version}-match-multiline.diff
+Patch6:         latex2html-%{version}-backref-workaround.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -62,12 +61,8 @@
 format. This allows both a written and online version even of older
 LaTeX texts.
 
-Find documentation in /usr/share/doc/packages/latex2html.
-
 %package pngicons
-Provides:       l2h-pngicons
-Obsoletes:      l2h-pngicons
-Summary:        Icons in the PNG format for the LaTeX to HTML Converter
+Summary:        Icons in the PNG format for LateX2HTML
 License:        GPL-2.0+
 Group:          Productivity/Publishing/TeX/Utilities
 
@@ -75,7 +70,7 @@
 Icons in the PNG format for the LaTeX to HTML Converter.
 
 %package doc
-Summary:        LaTeX2HTML Converter
+Summary:        Documentation for Latex2HTML Converter
 License:        GPL-2.0+ and LPPL-1.3c
 Group:          Productivity/Publishing/TeX/Utilities
 
@@ -85,38 +80,33 @@
 LaTeX texts.
 
 %prep
-%setup 
-%setup -a 2 
-%patch
+%setup -a 1
+%patch0
 %patch1
 %patch2
 %patch3
 %patch4
-%patch5 -p1
-%patch6 -p1
-%patch7
-cp %{S:1} manual.ps.gz
-cp %{S:3} README.SuSE
+%patch5
+%patch6
+cp %{S:2} README.SUSE
+cp %{S:4} .
 
 %build
 ./configure --prefix=%{_prefix}
 make
-#removing files with zero-length
-rm 
manual/{images.idx,Simages.cb,Pimages.cb,Oimages.cb,Mimages.cb,Himages.cb,Eimages.cb,Pimages.aux,Simages.aux,Oimages.aux,Mimages.aux,Himages.aux}
 
 %install
-export RPM_BUILD_ROOT
-make install
-mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
-install -m 644 latex2html.man $RPM_BUILD_ROOT/%{_mandir}/man1/latex2html.1
-rm -r 
$RPM_BUILD_ROOT%{share_dir}/{docs,example,dot.latex2html-init,readme.hthtml} 
-chmod 755 
$RPM_BUILD_ROOT%{_datadir}/%{name}/{cweb2html/makemake.pl,cweb2html/cweb2html,makemap,makeseg/makeseg}
+make DESTDIR=%{buildroot} install
+mkdir -p %{buildroot}/%{_mandir}/man1
+install -m 644 %{S:5} %{buildroot}/%{_mandir}/man1
+rm -r 
%{buildroot}%{share_dir}/{docs,example,dot.latex2html-init,readme.hthtml} 
+chmod 755 
%{buildroot}%{_datadir}/%{name}/{cweb2html/makemake.pl,cweb2html/cweb2html,makemap,makeseg/makeseg}
 #removing out-dated url.sty [#283760]
-rm ${RPM_BUILD_ROOT}%{_texmfmaindir}/tex/latex/html/url.sty
-%fdupes -s $RPM_BUILD_ROOT
+rm %{buildroot}%{_texmfmaindir}/tex/latex/html/url.sty
+%fdupes -s %{buildroot}
 
 %check
-LATEX2HTMLDIR=%buildroot/%{share_dir} ./latex2html --test_mode %{S:4}
+LATEX2HTMLDIR=%buildroot/%{share_dir} ./latex2html --test_mode %{S:3}
 
 %postun
 mkdir -p var/adm/SuSEconfig
@@ -128,10 +118,8 @@
 
 %files
 %defattr(-, root, root)
-%doc README.SuSE
+%doc README.SUSE
 %doc Changes FAQ README TODO dot.latex2html-init readme.hthtml 
-#%doc %{_defaultdocdir}/latex2html/manual
-#%doc %{_defaultdocdir}/latex2html/manual.ps.gz
 /usr/lib/latex2html
 %dir %{share_dir}
 %{share_dir}/*.pm
@@ -159,7 +147,7 @@
 
 %files doc
 %defattr(-,root,root)
-%doc manual.ps.gz
+%doc manual
 %doc tests
 %doc example
 

++++++ latex2html-2012-backref-workaround.diff ++++++
--- ./latex2html.pin.orig       2013-06-25 14:57:10.000000000 +0000
+++ ./latex2html.pin    2013-06-25 14:57:27.000000000 +0000
@@ -16557,7 +16557,7 @@ sub make_isolatin1_rx {
      $caption_suffixes = "lof|lot";
 #    $caption_rx = 
"\\\\caption\\s*([[]\\s*((($any_next_pair_rx5)|([[][^]]*[]])|[^]])*)[]])?$O(\\d+)$C([\\s\\S]*)$O\\8$C$EOL";
 
-    $caption_rx = 
"\\\\(top|bottom|table)?caption\\s*\\\*?\\s*([[]\\s*((($any_next_pair_rx6)|([[][^]]*[]])|[^]])*)[]])?$O(\\d+)$C([\\s\\S]*)$O\\9$C$EOL";
+    $caption_rx = 
"\\\\(top|bottom|table)?caption\\s*\\\*?\\s*([[]\\s*((($any_next_pair_rx6)|([[][^]]*[]])|[^]])*)[]])?$O(\\d+)$C([\\s\\S]*)$O\\g9$C$EOL";
     $caption_width_rx = 
"\\\\setlength\\s*(($O|$OP)\\d+($C|$CP))\\\\captionwidth\\1\\s*(($O|$OP)\\d+($C|$CP))([^>]*)\\4";
 
     # Matches the \htmlimage command
@@ -16622,7 +16622,7 @@ sub make_isolatin1_rx {
 
     # Matches a label command and its argument
     $labels_rx = "\\\\label\\s*$O(\\d+)$C([\\s\\S]*)$O\\1$C$EOL";
-    $labels_rx8 = "\\\\label\\s*$O(\\d+)$C([\\s\\S]*)$O\\8$C$EOL";
+    $labels_rx8 = "\\\\label\\s*$O(\\d+)$C([\\s\\S]*)$O\\g8$C$EOL";
 
     # Matches environments that should not be touched during the translation
 #   $verbatim_env_rx = "\\s*{(verbatim|rawhtml|LVerbatim)[*]?}";
++++++ latex2html-2008-binmode.diff -> latex2html-2012-binmode.diff ++++++

++++++ latex2html-2012-dest-dir.diff ++++++
Index: config/install.pl
===================================================================
--- config/install.pl.orig      2002-11-29 12:49:01.000000000 +0100
+++ config/install.pl   2013-11-25 15:17:23.522211642 +0100
@@ -293,8 +293,10 @@
   split(/\s+/,$cfg{'IMAGE_TYPES'}) : qw(gif);
 my $iconrx = join('|', @icon_types);
 
+my $destdir=$ENV{"DESTDIR"};
 my $dest1 = "$cfg{'SHLIBDIR'}${dd}icons";
-if((-d $dest1 && !-w _) || (-d $cfg{'SHLIBDIR'} && !-w _)) {
+print STDERR "((( $destdir, $dest1 )))\n";
+if((-d "$destdir$dest1" && !-w _) || (-d "$destdir$cfg{'SHLIBDIR'}" && !-w _)) 
{
   print STDERR "Error: Cannot install icons in '$dest1': No write 
permission.\n";
   $dest1 = '';
 }
@@ -372,7 +374,10 @@
 
 if($cfg{TEXPATH}) {
   print "\nNote: trying to install LaTeX2HTML style files in TeX directory 
tree\n     ($cfg{TEXPATH})\n";
-  unless(mkpath($cfg{TEXPATH})) {
+  my $dest = $cfg{TEXPATH};
+  my $destdir=$ENV{"DESTDIR"};
+  $dest= "$destdir$dest";
+  unless(mkpath($dest)) {
   #my $testpath = $cfg{TEXPATH}; # to strip (latex2)html
   #$testpath =~ s/[$dd$dd][^$dd$dd]*$//;
   #if((-d $cfg{TEXPATH} && !-w _) || (-d $testpath && !-w _)) {
++++++ latex2html-2008-gsout.diff -> latex2html-2012-gsout.diff ++++++

++++++ latex2html-2012-match-multiline.diff ++++++
++++ 1288 lines (skipped)

++++++ latex2html-2008-perl-bindir.diff -> latex2html-2012-perl-bindir.diff 
++++++

++++++ latex2html-2012-share-dir.diff ++++++
Index: config/config.pl
===================================================================
--- config/config.pl.orig
+++ config/config.pl
@@ -1918,7 +1918,7 @@ else {
     $newcfg{'SHLIBDIR'} = $newcfg{'PREFIX'};
   }
   else {
-    $newcfg{'SHLIBDIR'} = "$newcfg{'PREFIX'}${dd}share${dd}lib${dd}latex2html";
+    $newcfg{'SHLIBDIR'} = "$newcfg{'PREFIX'}${dd}share${dd}latex2html";
   }
 }
 add_drive_letter($newcfg{'SHLIBDIR'});

++++++ latex2html-README.SUSE ++++++
Incompatibilities
=================

latex2html isn't fully compatible with the 'url' package.  latex2html
will die on the string "$$" in \path; e.g., \path{foo.$$}.  For more
info refer to Suse Linux Bugilla #26127.
++++++ latex2html-2008-binmode.diff -> latex2html.1 ++++++
--- /work/SRC/openSUSE:Factory/latex2html/latex2html-2008-binmode.diff  
2011-09-23 02:07:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.latex2html.new/latex2html.1     2013-12-05 
07:13:38.000000000 +0100
@@ -1,366 +1,114 @@
---- IndicTeX-HTML/devnagri.perl
-+++ IndicTeX-HTML/devnagri.perl
-@@ -331,6 +331,7 @@
- sub do_env_pre_tr_devnagri { 
-     local($_) = @_;
-     open(DNTR,">dntr.tmp") || print "\n *** cannot open dntr.tmp ***" ;
-+      binmode DNTR;
-     print DNTR "\$\$", &revert_to_raw_tex($_), "\$\$";
-     close DNTR;
-     &syswait("patc -p $PRE_FILTERS${dd}dng.pat dntr.tmp dntr.tmp1");
---- IndicTeX-HTML/itrans.perl
-+++ IndicTeX-HTML/itrans.perl
-@@ -336,10 +336,11 @@
-               , "\#${indic}ifm=".$itrans_info{$indic.'ifm'}
-               , "\#$indic", $itext , "\#end$indic\n" );
-     open(ITRANS, ">itrans.itx");
-+    binmode ITRANS;;
-     print ITRANS "$_";
-     close(ITRANS);
-     &syswait("$ITRANS <itrans.itx >itrans.htm");
--    open(ITRANS, "<itrans.htm"); $itext = '';
-+    open(ITRANS, "<itrans.htm"); binmode ITRANS; $itext = '';
-     while (<ITRANS>) {
-       next if (/^(\%|$)/);
-       $itext .= $_ 
---- IndicTeX-HTML/malyalam.perl
-+++ IndicTeX-HTML/malyalam.perl
-@@ -221,6 +221,7 @@
- sub do_env_pre_mmtr {
-     local($_) = @_;
-     open(MMTR,">mmtr.tmp") || print "\n *** cannot open mmtr.tmp ***" ;
-+      binmode MMTR;
-     print MMTR "\$\$", &revert_to_raw_tex($_), "\$\$";
-     close MMTR;
-     &syswait("$PATC -p $MMDIR${dd}mm.pat mmtr.tmp mmtr.tmp1");
---- cweb2html/cweb2html
-+++ cweb2html/cweb2html
-@@ -258,7 +258,7 @@
- 
-     open(INPUT,"<$filename") ||
-       die "$PRGFILE: error: Could not open $filename\n";
--
-+    binmode INPUT;
-     while (<INPUT>) {
-       $string{'STRING'} .= $_;
-     }
---- cweb2html/htcweb.perl
-+++ cweb2html/htcweb.perl
-@@ -941,6 +941,7 @@
- 
-     print "\nReading <$_[0]>..." if $DEBUG;
-     open(INPUT,"<$_[0]");
-+    binmode INPUT;
-     while (<INPUT>) {
-       $string{'STRING'} .= $_;
-     }
-@@ -948,6 +949,7 @@
- 
-     print "\nReading <$_[1]>..." if $DEBUG;
-     open(INPUT,"<$_[1]");
-+      binmode INPUT;
-     while (<INPUT>) {
-       $string{'STRING'} .= $_;
-     }
-@@ -1028,6 +1030,7 @@
-       }
-     }
-     open(INPUT,"<$file") || die "Could not open $file\n";
-+      binmode INPUT;
-     while (<INPUT>) {
-       $string{'STRING'} .= $_};
-     $_ = delete $string{'STRING'}; # Blow it away and return the result
---- cweb2html/makemake.pl
-+++ cweb2html/makemake.pl
-@@ -27,8 +27,10 @@
-       die "Cannot rename to $source.bak, $!\n";
-     open(OUT,">$source") ||
-       die "Cannot open $source, $!\n";
-+      binmode OUT;
- 
-     open(IN,"<$source.bak");
-+      binmode IN;
-     while (<IN>) {
-       $string{'STRING'} .= $_;
-     }
---- latex2html.pin
-+++ latex2html.pin
-@@ -1088,6 +1088,7 @@
-             unless($ignore);
-         return undef;
-     }
-+    binmode CATFILE;
-     local($/) = undef; # slurp in whole file
-     my $contents = <CATFILE>;
-     close(CATFILE);
-@@ -1344,6 +1345,7 @@
-     $auto_styles =~ s/\|$//;
- 
-     if(open(STYLES, "<$TMP_${dd}styles")) {
-+        binmode STYLES;
-         while(<STYLES>) {
-             if(s/^\s*(\S+)\s*(.*)$/$style = $1; $options = $2;/eo) {
-                 &do_require_package($style);
-@@ -1759,6 +1761,7 @@
-     unless(open(SINPUT,"<$file")) {
-         die "\nError: Cannot read '$file': $!\n";
-     }
-+    binmode SINPUT;
-     local(@file_string);
-     print STDOUT "$file" if ($VERBOSITY >1);
-     while (<SINPUT>) {
-@@ -1843,6 +1846,7 @@
-     &wrap_shorthand_environments;
-     print STDOUT "\n *** End-of-partition ***" if ($VERBOSITY > 1);
-     if(open(OUT, ">$TMP_$dd$PARTITION_PREFIX$count")) {
-+        binmode OUT;
-         print OUT $_;
-         close(OUT);
-     } else {
-@@ -1863,6 +1867,7 @@
-     local($file) = @_;
-     local(%string);
-     if(open(INPUT,"<$file")) {
-+        binmode INPUT;
-         local(@file_string);
-         while (<INPUT>) {
-           push(@file_string, $_ );
-@@ -2316,6 +2321,7 @@
-           
-           open(OUTPUT, ">$CURRENT_FILE")
-               || die "Cannot write '$CURRENT_FILE': $!\n";
-+        binmode OUTPUT;
-           if ($XBIT_HACK) { # use Apache's XBit hack
-               chmod 0744, $CURRENT_FILE;
-               &check_htaccess;
-@@ -3766,6 +3772,7 @@
-       print "\nWriting image.pre file ...\n";
-       open(ENV,">.$dd${PREFIX}images.pre")
-             || die "\nCannot write '${PREFIX}images.pre': $!\n";
-+      binmode ENV;
-       print ENV &make_latex($latex_body);
-       print ENV "\n";
-       close ENV;
-@@ -3785,6 +3792,7 @@
-       # save pre-processor commands in a file:  preproc
-       open(CMDS,">.$dd${PREFIX}preproc")
-             || die "\nCannot write '${PREFIX}preproc': $!\n";
-+      binmode CMDS;
-       print CMDS $preprocessor_cmds ;
-       close CMDS;
- 
-@@ -3795,6 +3803,7 @@
-       print "\nWriting image file ...\n";
-       open(ENV,">.$dd${PREFIX}images.tex")
-             || die "\nCannot write '${PREFIX}images.tex': $!\n";
-+    binmode ENV;
-       print ENV &make_latex($latex_body);
-       print ENV "\n";
-       close ENV;
-@@ -7155,8 +7164,10 @@
-         print "\nError: Cannot write '$FILE.css': $!\n";
-         return;
-     }
-+    binmode STYLESHEET;
-     if ( -f $EXTERNAL_STYLESHEET ) {
-         if(open(EXT_STYLES, "<$EXTERNAL_STYLESHEET")) {
-+            binmode EXT_STYLES;
-             while (<EXT_STYLES>) { print STYLESHEET $_; }
-             close(EXT_STYLES);
-         } else {
-@@ -7451,7 +7462,7 @@
-           &slurp_input($this_file);
-           open(OUTFILE, ">$this_file")
-                 || die "\nError: Cannot write file '$this_file': $!\n";
--
-+          binmode OUTFILE;
-           if (($INDEX) && ($SHORT_INDEX) && ($SEGMENT eq 1)) {
-               &make_index_segment($title,$file); }
- 
-@@ -7815,6 +7826,7 @@
-       return();
-     }
-     if(open(INIT, "<$init_file")) {
-+        binmode INIT;
-         foreach $info_line (<INIT>) {
-           $info_line =~ s/[<>"&]/'&'.$html_special_entities{$&}.';'/eg;
-           $init_contents .= $info_line;
-@@ -8579,6 +8591,7 @@
- sub post_process_footnotes {
-     &slurp_input($footfile);
-     open(OUT, ">$footfile") || die "Cannot write file '$footfile': $!\n";
-+    binmode OUT;
-     &replace_markers;
-     &post_post_process if (defined &post_post_process);
-     &adjust_encoding;
-@@ -8600,6 +8613,7 @@
-         print "\nError: Cannot write '$filename': $!\n";
-         return;
-     }
-+    binmode FILE;
-     print FILE $_;
-     close(FILE);
- }
-@@ -9039,6 +9053,7 @@
-     my $script = $SCRIPT || $0;
-     open(PIPE, "$perldoc -t $script |")
-         || die "Fatal: can't open pipe: $!";
-+    binmode PIPE;
-     while (<PIPE>) {
-         if (/^\s*$/) {
-             next;
-@@ -10134,6 +10149,7 @@
-         print "\nError: Cannot write '$urlimg': $!\n";
-         return;
-     }
-+    binmode IMAGE_MAP;
-     ### HWS  Pass server map unchanged from user
-     print IMAGE_MAP "<HTML>\n<BODY>\n<A HREF=\"$map\">\n";
-     print IMAGE_MAP "<IMG\n SRC=\"$url\" ISMAP $ausemp $altst> </A>";
-@@ -10151,6 +10167,8 @@
-     ($to_prefix, $suffix) = split(/\./, $to);
-     if ($EXTN =~ /$suffix$/) {
-       if (open(FROM, "<$from") && open(HTMP, ">HTML_tmp")) {
-+        binmode FROM;
-+        binmode HTMP;
-           while (<FROM>) {
-               s/$from_prefix\.$IMAGE_TYPE/$to_prefix.$IMAGE_TYPE/g;
-               print HTMP;
-@@ -10175,6 +10193,7 @@
-       &replace_markers;
-       &add_dir_to_href if ($DESTDIR);
-       if(open(CAPTIONS, ">${PREFIX}$type.pl")) {
-+        binmode CAPTIONS;
-           print CAPTIONS $_;
-           close (CAPTIONS);
-         } else {
-@@ -16385,6 +16404,7 @@
-     if (-f $access_file) {
-       print STDOUT " ... found";
-       open(HTACCESS, "<$access_file");
-+    binmode HTACCESS;
-       while (<HTACCESS>) {
-           if (/^\s*XBitHack\s*on\s*$/) {
-               print STDOUT " with XBitHack on";
---- styles/color.perl
-+++ styles/color.perl
-@@ -154,6 +154,7 @@
-       if (-f $file) {
-             if (open(COLORFILE,"<$file")) {
-               print STDOUT "\n(reading colors from $file" if $DEBUG;
-+        binmode COLORFILE;
-               $* = 0; # Multiline matching OFF
-               while (<COLORFILE>) {
-       s/^\s*(\d+)\s+(\d+)\s+(\d+)\s+(\w+(\s\w+)*)\s*/
-@@ -187,6 +188,7 @@
-       if (-f $file) {
-           if (open(COLORFILE,"<$file")) {
-               print STDOUT "\n(reading colors from $file";
-+              binmode COLORFILE;
-               $* = 0;                 # Multiline matching OFF
-               @colors = (<COLORFILE>);
-               foreach (@colors) {
---- styles/frames.perl
-+++ styles/frames.perl
-@@ -1126,6 +1126,7 @@
-       );
-     &text_cleanup;
-     open(FILE,">$filename") || print "Cannot open $filename $!\n";
-+      binmode FILE;
-     print FILE $_;
-     close(FILE);
- }
---- styles/getimagesize.perl
-+++ styles/getimagesize.perl
-@@ -12,6 +12,7 @@
-     my $type = lc($1);
-     $type = $IMAGE_TYPE unless $type =~ /(gif|png|jpe?g)/;
-     if (open(IMAGE, "<$imagefile")) {
-+        binmode IMAGE;
-         my ($buffer,$magic,$dummy,$width,$height) = ('','','',0,0);
-       binmode(IMAGE); # not harmful un UNIX
- #       if ($IMAGE_TYPE =~ /gif/) {
---- styles/graphics-support.perl
-+++ styles/graphics-support.perl
-@@ -426,6 +426,7 @@
-   my($file)=@_;
-   my(@bb,$f);
-   if(($f=find_file($file,$GRAPHICS_PATH,['.eps','.ps','.bb'])) && 
open(PS,$f)){
-+      binmode PS;
-     while(<PS>){
-       if(/^%%BoundingBox:\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s*$/){
-       @bb=($1,$2,$3,$4); last; }}
---- styles/html.perl
-+++ styles/html.perl
-@@ -293,6 +293,7 @@
-       if ($pretag) {
-       # code due to Alan Williams <[email protected]>
-           open(LABELS, "<$labelfile");
-+              binmode LABELS;
-     print "\nLoading external labels from $labelfile, with prefix $pretag"
-       if ($VERBOSITY > 1);
-           local($translated_stream, $instream);
-@@ -400,6 +401,7 @@
-       if ($pretag) {
-       # code due to Alan Williams <[email protected]>
-           open(LABELS, "<$labelfile");
-+              binmode LABELS;
-     print "\nLoading external labels from $labelfile, with prefix $pretag"
-       if ($VERBOSITY > 1);
-           local($translated_stream, $instream);
---- styles/webtex.perl
-+++ styles/webtex.perl
-@@ -227,6 +227,7 @@
-           &webeq_failed($out_tag); $out_tag = '';
-       } else {
-           open(TAG, "<$out_tag");
-+              binmode TAG;
-           $app_tag = join('',<TAG>);
-           close(TAG);
-           # replace webeq fall-back image by LaTeX2HTML's own, or none at all
---- texexpand.pin
-+++ texexpand.pin
-@@ -552,6 +552,7 @@
-     if($opt{save_styles}) {
-       open(STYLES,">$opt{save_styles}")
-             || die "$prompt Error: Cannot open style file 
'$opt{save_styles}': $!\n";
-+        binmode STYLES;
-     }
-     my $out_file = $opt{output}||$opt{out};
-     if($out_file) {
-@@ -561,6 +562,7 @@
-     else {
-       open(OUT,">&STDOUT");
-     }
-+    binmode OUT;
- 
-     &process_file($infile); # the workhorse...
- 
-@@ -678,6 +680,7 @@
-     $includelevel++;
- 
-     open(IN,"<$infile") || die "$prompt Cannot open $infile\n";
-+    binmode IN;
-     print STDERR "$prompt %--- Processing $infile" if ($debug > 1);
- 
-     # if we don't include this file marker LaTeX2HTML won't split
---- versions/frame.pl
-+++ versions/frame.pl
-@@ -1202,6 +1202,7 @@
-       );
-     &text_cleanup;
-     open(FILE,">$filename") || print "Cannot open $filename $!\n";
-+      binmode FILE;
-     print FILE $_;
-     close(FILE);
- }
---- versions/techexpl.pl
-+++ versions/techexpl.pl
-@@ -212,6 +212,7 @@
- sub TE_check_file_contents {
-     local ($ifile) = @_;
-     open(TEINC, "<$ifile");
-+      binmode TEINC;
-     my($macrosOK,$macrosNUM,$numlines,$invalid) = (0,0,0,0);
-     my $TE_special_macros_rx = join('|',@TE_special_macros);
-     my $TE_defined_accents_rx = join('|',@TE_defined_accents);
+.00;                       # finish .ig
+
+'di           \" finish diversion--previous line must be blank
+.nr nl 0-1    \" fake up transition to first page again
+.nr % 0         \" start at page 1
+'; __END__ ##### From here on it's a standard manual page - VERSION #####
+.TH LaTeX2HTML 1
+.AT 3
+.SH NAME
+latex2html \- translate LaTeX files to HTML (HyperText Markup Language)
+.SH SYNOPSIS
+.B
+
+latex2html
+   [-address author-address]
+   [-antialias]
+   [-antialias_text]
+   [-ascii_mode]
+   [-auto_navigation]
+   [-auto_prefix]
+   [-biblio URL]
+   [-bottom_navigation]
+   [-contents URL]
+   [-contents_in_navigation]
+   [-custom_titles]
+   [-debug]
+   [-dir output-directory]
+   [-discard]
+   [-down_title string]
+   [-down_url URL]
+   [-external_file filename]
+   [-external_images]
+   [-font_size size]
+   [-h(elp)]
+   [-html_version (2.0|3.0|3.2)[,(math|i18n|table)]*]
+   [-images_only]
+   [-index URL]
+   [-index_in_navigation]
+   [-info string]
+   [-init_file file]
+   [-iso_language type]
+   [-ldump]
+   [-link num]
+   [-local_icons]
+   [-long_titles num]
+   [-next_page_in_navigation]
+   [-no_antialias]
+   [-no_antialias_text]
+   [-no_auto_link]
+   [-no_footnode]
+   [-no_fork]
+   [-no_images]
+   [-no_math]
+   [-no_navigation]
+   [-no_reuse]
+   [-no_subdir]
+   [-no_tex_defs]
+   [-no_white]
+   [-nolatex]
+   [-numbered_footnotes]
+   [-prefix filename-prefix]
+   [-prev_title string]
+   [-prev_url URL]
+   [-previous_page_in_navigation]
+   [-ps_images]
+   [-reuse reuse_option]
+   [-scalable_fonts]
+   [-short_extn]
+   [-short_index]
+   [-show_section_numbers]
+   [-split + num]
+   [-split num]
+   [-t top-page-title]
+   [-tmp path]
+   [-toc_depth num]
+   [-toc_stars]
+   [-top_navigation]
+   [-unsegment]
+   [-up_title string]
+   [-up_url URL]
+   [-v]
+   [-verbosity num]
+   [-white]
+   file(s)
+
+
+.SH DESCRIPTION
+.I LaTeX2HTML
+is a Perl program that translates LaTeX source files into HTML. For each source
+file given as an argument the translator will create a directory containing the
+corresponding HTML files.
+See the WWW online documentation or the 
/usr/share/doc/packages/latex2html/manual.ps.gz
+file for more detailed information and examples.
+
+.SH PROBLEMS
+For information on various problems and remedies see the WWW online 
documentation
+or the documents available in the distribution.
+A mailing list for technical discussion about latex2html, bugs and 
enhancements is available at
[email protected]
+
+.SH SUSE installation
+
+In /usr/share/doc/packages/latex2html you may find more information about this 
package.
+
+.SH AUTHOR
+Nikos Drakos,  Computer Based Learning Unit, University of Leeds
+<[email protected]>. Several people have contributed suggestions,
+ideas, solutions, support and
+encouragement.
+
+The pstogif script uses the pstoppm.ps
+postscript program originally written by Phillip Conrad (Perfect Byte, Inc.)
+and modified by L.  Peter Deutsch (Aladdin Enterprises).
+

++++++ local.pm ++++++
#################################################################
# local.pm
#
# Local Configuration for LaTeX2HTML
#
# This file is created automatically. Do not edit!
#
#################################################################

package main;

### start pstoimg configuration ###
$GS_LIB = '   . ; /usr/share/ghostscript/5.50 ; /usr/share/ghostscript/fonts'; 
# Inserted by configure-pstoimg
$GS_DEVICE = 'ppmraw'; # Inserted by configure-pstoimg
$GS = '/usr/bin/gs'; # Inserted by configure-pstoimg
$PNMCAT = '/usr/X11R6/bin/pnmcat'; # Inserted by configure-pstoimg
$PNMFILE = '/usr/X11R6/bin/pnmfile'; # Inserted by configure-pstoimg
$PNMTOPNG = '/usr/X11R6/bin/pnmtopng'; # Inserted by configure-pstoimg
$PBMMAKE = '/usr/X11R6/bin/pbmmake'; # Inserted by configure-pstoimg
$GSLANDSCAPE = '/usr/share/ghostscript/5.50/landscap.ps'; # Inserted by 
configure-pstoimg
$PPMQUANT = '/usr/X11R6/bin/ppmquant'; # Inserted by configure-pstoimg
$PNMFLIP = '/usr/X11R6/bin/pnmflip'; # Inserted by configure-pstoimg
$bg_color = '\#bfbfbf'; # Inserted by configure-pstoimg
$white_color = '\#ffffff'; # Inserted by configure-pstoimg
$PNMCROP = '/usr/X11R6/bin/pnmcrop'; # Inserted by configure-pstoimg

### end pstoimg configuration ###

1;

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to