shige 09/28 2004
----------------

With amsmath package, the equation environment including a 
comment line may be translated to a strange image, which include
a string "<tex2htmlcommentmark>". The following patch fixes it.
(latex2html-2002-2-1.)

----- From -----
*** styles/more_amsmath.perl.ORG        Sat Dec  2 15:15:01 2000
--- styles/more_amsmath.perl    Tue Sep 28 13:53:37 2004
***************
*** 97,104 ****
      $*=0;
      if ($labels) {
        $labels =~ s/$anchor_mark/$tag/o;
!       ($labels , $scan);
!     } else { ($tag , $scan) }
  }
  
  $outer_math_rx = "(fl|x|xx)?align(at)?|multline|gather|(sub)?equation";
--- 97,109 ----
      $*=0;
      if ($labels) {
        $labels =~ s/$anchor_mark/$tag/o;
! # shige 09/28 2004
! #     ($labels , $scan);
!     }
! #    } else { ($tag , $scan) }
!     $scan =~ s/($comment_mark\d+) /$1\n/g;
!     if ($labels) { ($labels , $scan); }
!     else { ($tag , $scan); }                     
  }
  
  $outer_math_rx = "(fl|x|xx)?align(at)?|multline|gather|(sub)?equation";
----- To here -----
+========================================================+
 Shigeharu TAKENO     NIigata Institute of Technology
                       kashiwazaki,Niigata 945-1195 JAPAN
 [EMAIL PROTECTED]   TEL(&FAX): +81-257-22-8161
+========================================================+

_______________________________________________
latex2html mailing list
[EMAIL PROTECTED]
http://tug.org/mailman/listinfo/latex2html

Reply via email to