For "[l2h] Math mode broken"

Shigeharu TAKENO shige@iee.niit.ac.jp
Fri, 30 Nov 2001 21:25:58 +0900 (JST)


shige 11/30 2001
----------------

For latex2html.pin (1.58 and 1.59), I found the problem that is
is the same problem as "[l2h] Math mode broken?" from 
"Erik Demaine <edemaine@mit.edu>".

It does not occur for latex2html.pin revision 1.57, so I made a 
temporary patch to fix it: 

----- From here -----
*** latex2html.pin.ORG	Wed Nov 14 15:15:01 2001
--- latex2html.pin	Fri Nov 30 21:08:58 2001
***************
*** 16245,16251 ****
  
  
      # Matches a \begin or \end {tex2html_wrap}. Also used by revert_to_raw_tex
!     $tex2html_wrap_rx = '\\\\(begin|end)\\s*\{\\s*(tex2html_(wrap|nowrap|deferred|nomath|preform|\\w*_inline)[_a-z]*|makeimage)\\s*\}'."($EOL)";
      $tex2html_deferred_rx = '\\\\(begin|end)(<<\\d+>>)tex2html_deferred\\2';
      $tex2html_deferred_rx2 = '\\\\(begin|end)(<<\\d+>>)tex2html_deferred\\4';
      $tex2html_envs_rx = "\\\\(begin|end)\\s*(($O|$OP)\\d+($C|$CP))\\s*(tex2html_(wrap|nowrap|deferred|nomath|preform|\w+_inline)[_a-z]*||makeimage)\\s*\\2";
--- 16245,16251 ----
  
  
      # Matches a \begin or \end {tex2html_wrap}. Also used by revert_to_raw_tex
!     $tex2html_wrap_rx = '\\\\(begin|end)\\s*\{\\s*(tex2html_(wrap|nowrap|deferred|nomath|preform|\\w*_inline)[_a-z]*|makeimage)\\s*\}'.$EOL;
      $tex2html_deferred_rx = '\\\\(begin|end)(<<\\d+>>)tex2html_deferred\\2';
      $tex2html_deferred_rx2 = '\\\\(begin|end)(<<\\d+>>)tex2html_deferred\\4';
      $tex2html_envs_rx = "\\\\(begin|end)\\s*(($O|$OP)\\d+($C|$CP))\\s*(tex2html_(wrap|nowrap|deferred|nomath|preform|\w+_inline)[_a-z]*||makeimage)\\s*\\2";
----- To here -----

However I don't know well why this fix it :-)

+========================================================+
 Shigeharu TAKENO     NIigata Institute of Technology
                       kashiwazaki,Niigata 945-1195 JAPAN
 shige@iee.niit.ac.jp   TEL(&FAX): +81-257-22-8161
+========================================================+