5.12 amsmath

<..32,4 pic amsmath..>+
 <.amsmath / amstex1 m:env.>
 \ConfigureEnv{eqxample}{\m:env{eqxample}}{\endm:env}{}{}
-_-_-

<..configure html32-math amsmath..>+
 \ConfigureEnv{align*}{\m:env{align*}}{\endm:env}{}{}
 \ConfigureEnv{align}{\m:env{align}}{\endm:env}{}{}
 \ConfigureEnv{alignat*}{\m:env{alignat*}}{\endm:env}{}{}
 \ConfigureEnv{alignat}{\m:env{alignat}}{\endm:env}{}{}
 \ConfigureEnv{flalign*}{\m:env{flalign*}}{\endm:env}{}{}
 \ConfigureEnv{flalign}{\m:env{flalign}}{\endm:env}{}{}
 \ConfigureEnv{xalignat*}{\m:env{xalignat*}}{\endm:env}{}{}
 \ConfigureEnv{xalignat}{\m:env{xalignat}}{\endm:env}{}{}
 \ConfigureEnv{xxalignat}{\m:env{xxalignat}}{\endm:env}{}{}
-_-_-

<..32,4 pic amsmath..>+
 \ConfigureEnv{gather*}{\m:env{gather*}}{\endm:env}{}{}
 \ConfigureEnv{gathered}{\m:env{gathered}}{\endm:env}{}{}
 \ConfigureEnv{matrix}{\m:env{matrix}}{\endm:env}{}{}
 \ConfigureEnv{quotation}{\m:env{quotation}}{\endm:env}{}{}
 \Configure{equations}{*}{}
-_-_-

A ‘\begin{multline}...\end{multline} is not a standard environment in the sense that the environment as a whole is read in one piece and then processed, instead of reading it piecewise and process it as it goes. That is, we have a behavior similar to that in verbatim environments. The behavior is due to multline being implemented in terms of \gather@#1{..}. Hence, for the picture environment, we need to change early the catcodes of ‘_ and ‘^.

<..32,4 pic amsmath..>+
 \ConfigureEnv{multline}
   {\:xhtml{\IgnorePar\EndP}%
     \HCode{<\tbl:XV{multline}><tr><td>}\Picture*{}\ExtractHLabel
   }
   {\EndPicture \HCode{</td><td width="5\%">}\PutHLabel\end:TTT}
   {}{}  {}{}
 \ConfigureEnv{multline*}
   {\:xhtml{\IgnorePar\EndP}%
     \HCode{<\tbl:XV{multline-star}><tr><td>}\Picture*{}%
   }
   {\EndPicture \end:TTT}
   {}{}
 <.extract amsmath labels.>
-_-_-

<..extract amsmath labels..>
 \def\ExtractHLabel{%
    \def\tagform@##1{{\xdef\:HLabel{\noexpand\tagform@{##1}}}}}
 \def\PutHLabel{\:HLabel}
-_-_-

<..configure html32-math amsmath..>+
 <.32,4 pic amsmath.>
-_-_-

<..32,4 pic amsmath..>+
 \ConfigureEnv{gather}
   {\:xhtml{\IgnorePar\EndP}%
     \HCode{<\tbl:XV{gather}><tr><td
        class="gather1">}\Picture*{}\ExtractHLabel
   }
   {\EndPicture \HCode{</td><td width="5\%">}\PutHLabel\end:TTT}
   {}{}
 \ConfigureEnv{gather*}
   {\:xhtml{\IgnorePar\EndP}%
     \HCode{<\tbl:XV{gather-star}><tr><td>}\Picture*{}%
   }
   {\EndPicture \end:TTT}
   {}{}
 \Css{td.gather-star, td.gather1 {text-align:center; }}
-_-_-