%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% mathml.4ht                           2001-12-14-14:32 %
% Copyright (C) 1999--2001      Eitan M. Gurari         %
%                                                       %
% This program can redistributed and/or modified under  %
% the terms of the LaTeX Project Public License         %
% Distributed from CTAN archives in directory           %
% macros/latex/base/lppl.txt; either version 1 of the   %
% License, or (at your option) any later version.       %
%                                                       %
% However, you are allowed to modify this program       %
% without changing its name, if you modify its          %
% signature. Changes to the signature can be introduced %
% with a directive of the form                          %
%            \message{signature}                        %
%                                                       %
%                             gurari@cis.ohio-state.edu %
%                 http://www.cis.ohio-state.edu/~gurari %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\immediate\write-1{version 2001-12-14-14:32}

\exit:ifnot{amsmath,% 
amsopn,% 
amstex,% 
amstex1,% 
amstext,% 
array,% 
fontmath,% 
latex,% 
plain,% 
tex4ht,% 
vanilla}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                \ConfigureHinput{tex4ht}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \Configure{SUB}
   {\Send{BACK}
     {<msub><mrow\Hnewline>}\Tg</mrow>\Tg<mrow\Hnewline>\trap:base}
   {\Tg</mrow>\TG</msub\Hnewline>}
\Configure{SUP}
   {\Send{BACK}
      {<msup><mrow\Hnewline>}\Tg</mrow>\Tg<mrow\Hnewline>\trap:base}
   {\Tg</mrow>\TG</msup\Hnewline>}
\Configure{SUBSUP}
   {\Send{BACK}
      {<msubsup><mrow\Hnewline>}\Tg</mrow>\Tg<mrow\Hnewline>\trap:base}
   {\Tg</mrow>\Tg<mrow\Hnewline>\trap:base}
   {\Tg</mrow>\TG</msubsup\Hnewline>}
\def\trap:base{{\HCode{}}}
\Configure{DviMath}
    {\mathmltrue  \ifOption{mml-fonts}{}{\NoFonts}
       \IgnoreRule\HCode{<!--l.
       \the\inputlineno-->}\Tg<math\Hnewline
           xmlns="http://www.w3.org/1998/Math/MathML"\Hnewline
           \a:@math>\a:math
       \edef\sv:ignore{\if:nopar
    \noexpand\IgnorePar\else \noexpand\ShowPar\fi}%
\IgnorePar}
    {\Tg</math>\EndIgnoreRule
     \ifOption{mml-fonts}{}{\EndNoFonts}
     \sv:ignore
\mathmlfalse }
\newif\ifmathml \mathmlfalse
\newif\ifmtext \mtextfalse
\LinkCommand\mtxt:link{mtext,xref,id, class="label" ,,\empty}
\LinkCommand\msp:link{mstyle,%
   class="label" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href,
   class="label" id,,,\empty}
\let\M:Link\Link
\def\Link{\ifmathml
     \ifmtext \Endmtxt:link
              \expandafter\expandafter\expandafter\mtxt:link
     \else    \expandafter\expandafter\expandafter\msp:link\fi
   \else \expandafter\M:Link\fi}
\let\M:EndLink\EndLink
\def\EndLink{\ifmathml
     \ifmtext \Endmtxt:link \HCode{<mtext class="endlabel">}%
     \else  \HCode{</mstyle><!--endlabel-->}\fi
   \else \expandafter\M:EndLink\fi}

\NewConfigure{math}{1}
\NewConfigure{@math}{1}
\def\IgnoreRule{\ht:special{t4ht@\string_}}
\def\EndIgnoreRule{\ht:special{t4ht@\string_\string_}}
\Configure{$$}
   {\Configure{@math}{display="block"}\IgnorePar
    \ifvmode\else \HCode{<!--tex4ht:inline-->}\fi
\EndP\DviMath}
   {\EndDviMath\ShowPar\par{\csname HCondtrue\endcsname\noindent}}{}
\Configure{$}
   {\Configure{@math}{display="inline"}\DviMath}
   {\EndDviMath}{}
\Configure{radical}{\Tg<msqrt>\HCode{<!--}%
      \Send{EndGROUP}{2}{}%
      \Send{GROUP}{3}{--><mrow>}%
      \Send{EndGROUP}{3}{\tg</mrow>\tg</msqrt>}}
\def\:MT{\ifmathml m\fi}
\Configure{halignTB}{\HCode{<\:MT table }}{\HCode{>}}
\def\t:HA{\HCode{</\:MT table>}}
\def\R:HA{\HCode{<\:MT tr \Hnewline valign="baseline">}}
\def\r:HA{\HCode{</\:MT tr>}}
\def\D:HA{\HCode{<\:MT td \ifnum \HMultispan>1 colspan="\HMultispan"\fi}%
   \halignTD \HCode{\Hnewline>}}
\def\d:HA{\HCode{</\:MT td>}}

\def\mml:htfsym{\Configure
   {htf}{254}{+}{<mglyph\Hnewline fontfamily="}{\%s"}{
   index="\%s"}{ mathsize="\%d\%\%"}{}{ alt="}{"/>}}
\def\ext:htfsym{\Configure{htf}{254}{+}{}{}{}{}{}{}{}}
\Configure{over}
   {\Send{GROUP}{0}{<mfrac><mrow>}\HCode{</mrow>}}
   {\HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}}
\Configure{atop}
   {\Send{GROUP}{0}{<mfrac linethickness="0"><mrow>}\HCode{</mrow>}}
   {\HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}}
\Configure{above}
   {\Send{GROUP}{0}{<mfrac linethickness="\the\tmp:dim"><mrow>}%
    \HCode{</mrow>}\o:over:\:gobbleII}
   {\HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}}
\Configure{abovewithdelims}
   {\abovewithdelims:III}
   {}
\def\abovewithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{<mfrac linethickness="\the\tmp:dim"><mrow>}%
      \HCode{</mrow>}\o:over:
      \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}
   \else
      \Send{GROUP}{0}{<mfenced separators=""\Hnewline
          open="\expandafter
\ifx \csname \string#2:lr del\endcsname\relax #2\else
     \csname \string#2:lr del\endcsname\fi
" close="\expandafter
\ifx \csname \string#3:lr del\endcsname\relax #3\else
     \csname \string#3:lr del\endcsname\fi
"><mfrac
          linethickness="\the\tmp:dim"><mrow>}%
      \HCode{</mrow>}\o:over:
      \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac></mfenced>}
   \fi
   \tmp:dim
 }
\Configure{atopwithdelims}
   {\atopwithdelims:III}
   {}
\def\atopwithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{<mfrac linethickness="0"><mrow>}%
      \HCode{</mrow>}\o:atop:
      \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}
   \else
      \Send{GROUP}{0}{<mfenced separators=""\Hnewline
          open="\expandafter
\ifx \csname \string#2:lr del\endcsname\relax #2\else
     \csname \string#2:lr del\endcsname\fi
" close="\expandafter
\ifx \csname \string#3:lr del\endcsname\relax #3\else
     \csname \string#3:lr del\endcsname\fi
"><mfrac
          linethickness="0"><mrow>}%
      \HCode{</mrow>}\o:atop:
      \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac></mfenced>}
   \fi
 }
\Configure{overwithdelims}
   {\overwithdelims:III}
   {}
\def\overwithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{<mfrac><mrow>}%
      \HCode{</mrow>}\o:over:
      \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}
   \else
      \Send{GROUP}{0}{<mfenced separators=""\Hnewline
          open="\expandafter
\ifx \csname \string#2:lr del\endcsname\relax #2\else
     \csname \string#2:lr del\endcsname\fi
" close="\expandafter
\ifx \csname \string#3:lr del\endcsname\relax #3\else
     \csname \string#3:lr del\endcsname\fi
"><mfrac><mrow>}%
      \HCode{</mrow>}\o:over:
      \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac></mfenced>}
   \fi
 }
\Configure{halignTD} {}{}
   {<}{\HCode{ columnalign="left"}}
   {-}{\HCode{ columnalign="center"}}
   {>}{\HCode{ columnalign="right"}}
   {^}{\HCode{ rowalign="top"}}
   {=}{\HCode{ rowalign="baseline"}}
   {|}{\HCode{ rowalign="center"}}
   {_}{\HCode{ rowalign="bottom"}}
   {p}{\HCode{ columnalign="left"}}
   {}
\Configure{nolimits}{\HCode{<!--nolimits-->}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                \ConfigureHinput{latex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \:CheckOption{core}\if:Option \expandafter\endinput \fi
\Configure{hspace}
  {\ifmathml\ifmtext\else \Tg<mspace width="\the\tmp:dim"/>\fi\fi}{}{ }
\Configure{newline}
  {\HCode{</mtext><mtext class="newline">}}
\Configure{[]}
  {\Configure{@math}{display="block"}\csname a:mathml[]\endcsname
   \DviMath\Tg<mrow\Hnewline>$$}
  {$$\Tg</mrow>\EndDviMath\csname b:mathml[]\endcsname}
\Configure{()}
  {\Configure{@math}{display="inline"}\csname a:mathml()\endcsname
   \DviMath\Tg<mrow\Hnewline>$}
  {$\Tg</mrow>\EndDviMath\csname b:mathml()\endcsname}
\NewConfigure{mathml[]}{2}
\NewConfigure{mathml()}{2}
\def\:array:{\HCode{\Hnewline
   equalrows="false" equalcolumns="false" class="array"}<>\HAlign}
\Configure{array}
   {\halignTB{array}}
   {\expandafter\tmp:toks\expandafter{\Clr}%
\HCode{<!--\the\tmp:toks-->}%
\Tg</mtable>}
   {\Tg<mtr>}{\Tg</mtr>}
   {\HCode{<mtd\Hnewline class="array"
   \ifnum 1<\HMultispan columnspan="\HMultispan"\fi}%
   \halignTD    \HCode{>}%
}
   {\Tg</mtd>}
\ConfigureEnv{array}
   {\bgroup\Configure{$}{}{}{}} {\egroup} {}{}

\def\:MM{m}
\Configure{HBorder}
   {<mtr\Hnewline class="hline">}
   {<mtd><!--hr\xml:empty--></mtd>}
   {</mtr>}
   {<mtr\Hnewline class="cline">}
   {<mtd></mtd>}
   {<mtd><!--hr\xml:empty--></mtd>}
   {</mtr>}
   {<mtr\Hnewline class="vspace" style="font-size:\HBorderspace">}
   {<mtd\Hnewline></mtd>}
   {</mtr>}
\Configure{math}{%
   \Configure{mathrm}{\Tg<mi class="mathrm">\PauseMathClass}%
                     {\EndPauseMathClass\Tg</mi>}%
   \Configure{mathbf}{\Tg<mi class="mathbf"
                             mathvariant="bold">\PauseMathClass}%
                     {\EndPauseMathClass\Tg</mi>}%
   \Configure{texttt}{\Configure{@mtext}{class="texttt"}}{}%
   \Configure{textit}{\Configure{@mtext}{class="textit"}}{}%
   \Configure{textrm}{\Configure{@mtext}{class="textrm"}}{}%
   \Configure{textup}{\Configure{@mtext}{class="textup"}}{}%
   \Configure{textsl}{\Configure{@mtext}{class="textsl"}}{}%
   \Configure{textsf}{\Configure{@mtext}{class="textsf"}}{}%
   \Configure{textbf}{\Configure{@mtext}{class="textbf"}}{}%
   \Configure{textsc}{\Configure{@mtext}{class="textsc"}}{}%
   \Configure{emph}{\Configure{@mtext}{class="emph"}}{}%
}

\let\A:fbox=\a:fbox
\let\B:fbox=\b:fbox
\let\OLDf:box=\fbox
\def\fbox{\relax\ifmmode
    \Configure{fbox}{\leavevmode\Configure{HtmlPar}{}{}{}{}\IgnoreRule
                     \AA:text{fbox}}{\BB:text\EndIgnoreRule}\else
    \Configure{fbox}{\leavevmode
                     \IgnoreRule\A:fbox}{\B:fbox\EndIgnoreRule}\fi
    \OLDf:box}
\let\A:mbox\a:mbox
\let\B:mbox\b:mbox
\let\OLD:mbox\mbox
\def\mbox{\relax\ifmmode \Configure{mbox}{\AA:text{mbox}}{\BB:text}\else
                   \Configure{mbox}{\A:mbox}{\B:mbox}\fi\OLD:mbox}
\NewConfigure{@mtext}{1}
\Configure{@mtext}{}
\def\AA:text#1{\mtexttrue
   \HCode{<mrow\Hnewline
      class="#1"><mtext \a:@mtext>}\PauseMathClass
   \Configure{$}{\EndPauseMathClass \mtextfalse
       \HCode{</mtext><mrow\Hnewline class="math">}}
     {\HCode{</mrow><mtext \a:@mtext>}\PauseMathClass
                 \mtexttrue}{}}
\def\BB:text{\mtextfalse\EndPauseMathClass\HCode
     {</mtext></mrow>}}

\Configure{frac}
   {\Tg<mfrac>\Tg<mrow\Hnewline>} {\Tg</mrow>\Configure{over}{}{}}
   {\Tg<mrow\Hnewline>}{\Tg</mrow>\Tg</mfrac>}
\let\A:equation\a:equation
\let\B:equation\b:equation
\let\C:equation\c:equation
\Configure{equation}
  {\A:equation\Configure{$$}
   {\Configure{@math}{class="equation"}\IgnorePar\EndP\DviMath}
   {\EndDviMath\EndP}{}%
}
  {\B:equation}{\C:equation}
\Configure{eqnarray}
   {\HCode{<mtable\Hnewline class="eqnarray\ifx
       \@seqncr\@eqncr\else-star\fi">}}{\HCode{</mtable>}}
   {\HCode{<mtr>}}  {\HCode{</mtr>}}
   {\Tg<mtd\Hnewline class="eqnarray-\HCol">
      \ifnum \HCol=4 \Tg<mtext class="eqnarray">\PauseMathClass
          \mtexttrue \fi}
   {\ifnum \HCol=4 \mtextfalse
      \EndPauseMathClass\Tg</mtext>\fi \Tg</mtd>}
\def\:temp#1#2{{\a:stackrel{#1}\b:stackrel {#2}\c:stackrel}}
\HLet\stackrel\:temp
\:CheckOption{stackrel-}     \if:Option
   \Configure{stackrel}
      {\mathrel\bgroup \HCode{<mglyph\Hnewline
          alt="\string\stackrel}\afterassignment\put:arg\tmp:toks}
      {\afterassignment\put:arg\tmp:toks}
      {\HCode{" />}\egroup}
   \def\put:arg{\HCode{{\the\tmp:toks}}}
\else
   \Configure{stackrel}
     {\HCode{<mover\Hnewline class="stackrel"><mrow\Hnewline>}}
     {\HCode{</mrow><mrow\Hnewline>}\mathop}
     {\HCode{</mrow></mover>}}
\fi
\Configure{overline}
   {\bgroup \HCode{<mover  accent="false"\Hnewline
class="mml-overline"><mrow>}%
}
   {\HCode{</mrow><mo\Hnewline
 accent="true">&\#x00AF;</mo>%
</mover>}%
\egroup}
\Configure{underline}
   {\bgroup \HCode{<munder accentunder="false"\Hnewline
class="mml-underline"><mrow>}%
}
   {\HCode{</mrow><mo\Hnewline
accent="true">&\#x0332;</mo></munder>}%
\egroup}


\pend:def\arccos{\mml:prefix\nolimit:csname}
\pend:def\arcsin{\mml:prefix\nolimit:csname}
\pend:def\arctan{\mml:prefix\nolimit:csname}
\pend:def\arg{\mml:prefix\nolimit:csname}
\pend:def\cosh{\mml:prefix\nolimit:csname}
\pend:def\cos{\mml:prefix\nolimit:csname}
\pend:def\coth{\mml:prefix\nolimit:csname}
\pend:def\cot{\mml:prefix\nolimit:csname}
\pend:def\csc{\mml:prefix\nolimit:csname}
\pend:def\deg{\mml:prefix\nolimit:csname}
\pend:def\dim{\mml:prefix\nolimit:csname}
\pend:def\exp{\mml:prefix\nolimit:csname}
\pend:def\hom{\mml:prefix\nolimit:csname}
\pend:def\ker{\mml:prefix\nolimit:csname}
\pend:def\lg{\mml:prefix\nolimit:csname}
\pend:def\ln{\mml:prefix\nolimit:csname}
\pend:def\log{\mml:prefix\nolimit:csname}
\pend:def\sec{\mml:prefix\nolimit:csname}
\pend:def\sinh{\mml:prefix\nolimit:csname}
\pend:def\sin{\mml:prefix\nolimit:csname}
\pend:def\tanh{\mml:prefix\nolimit:csname}
\pend:def\tan{\mml:prefix\nolimit:csname}

\pend:def\Pr{\mml:prefix\limit:csname}
\pend:def\det{\mml:prefix\limit:csname}
\pend:def\gcd{\mml:prefix\limit:csname}
\pend:def\inf{\mml:prefix\limit:csname}
\pend:def\liminf{\mml:prefix\limit:csname}
\pend:def\limsup{\mml:prefix\limit:csname}
\pend:def\lim{\mml:prefix\limit:csname}
\pend:def\max{\mml:prefix\limit:csname}
\pend:def\min{\mml:prefix\limit:csname}
\pend:def\sup{\mml:prefix\limit:csname}
\def\mml:prefix#1{%
   \Configure{mathop}{*}{<mo\Hnewline>}{</mo>}%
    {\Configure{mathop}{*}{<mo>}{</mo>}{}}}
\def\limit:csname{form="prefix" class="csname-limit"}
\def\nolimit:csname{form="prefix" class="csname-nolimit"}
\let\A:displaylines\a:displaylines
\let\B:displaylines\b:displaylines
\let\C:displaylines\c:displaylines
\let\D:displaylines\d:displaylines
\Configure{displaylines}
   {\ifmmode
     \def\A:displaylines{\HCode{<mtable
                                    class="displaylines">}}%
     \def\B:displaylines{\HCode{</mtable>}}%
     \def\C:displaylines{\HCode{<mtr\Hnewline
                               class="displaylines"><mtd>}}%
     \def\D:displaylines{\HCode{</mtd></mtr>}}%
    \fi
    \A:displaylines}
   {\B:displaylines} {\C:displaylines}{\D:displaylines}
\let\mathml:on\relax
\Configure{ }
   {\ifmathml \ifmtext \space \else\Tg<mspace class="nbsp" />\fi
    \else \:nbsp\fi}
\:CheckOption{new-accents}     \if:Option \else
  \Configure{accent}\widetilde\widetilde{{}{}}
  {}
  {\HCode{<mover\Hnewline accent="false"><mrow\Hnewline>}#2\HCode{</mrow>}%
    \:widetilde:over  \HCode{</mover>}}
  \Configure{accent}\widehat\widehat{{}{}}
  {}
  {\HCode{<mover\Hnewline accent="false"><mrow\Hnewline>}#2\HCode{</mrow>}%
    \:widehat:over  \HCode{</mover>}}
\fi
\:CheckOption{new-accents}     \if:Option \else
   \ifx \mathml:on\:UnDef
      \Configure{accents}
        {\ifmmode \expandafter\mathord\fi
         {\leavevmode
\if !#1!\ht:special{t4ht@+&\#x#2;}%
\else \expandafter \ifx\csname U#2#1\endcsname\relax
    \ht:special{t4ht@+&#2#1;}%
\else
    \ht:special{t4ht@+&\#x\csname U#2#1\endcsname;}%
\fi \fi x%
%
          \ht:special{t4ht@[}\if!#1!x\else#2\fi\ht:special{t4ht@]}}}
        {\Tg<mrow
                class="accent#1">\mathord{#3}\Tg</mrow>%
        }%
   \fi
\fi
\let\mml:TeX\TeX
\def\TeX{\ifmathml
   \HCode{<mtext
      class="TeX">TeX</mtext>}\else \mml:TeX\fi}
\def\:temp#1{\a:left{#1}\o:left:.\b:left{#1}}   \HLet\left\:temp
\def\:temp#1{\a:right{#1}\o:right:.\b:right{#1}}\HLet\right\:temp
\Configure{left}
   {}
   {\HCode{<mfenced separators=""\Hnewline
       open="\expandafter
\ifx \csname \string#1:lr del\endcsname\relax #1\else
     \csname \string#1:lr del\endcsname\fi
"\space }\bgroup \HCode{>}\bgroup}
\Configure{right}
   {\egroup\Send{GROUP}{0}{ close="\expandafter
\ifx \csname \string#1:lr del\endcsname\relax #1\else
     \csname \string#1:lr del\endcsname\fi
"\space}\egroup}
   {\HCode{</mfenced>}}
\def\def:DEL#1{\def\:DEL{#1}}
\def\check:DEL#1#2{\def\:tempa{#1}\ifx \:tempa\:DEL \def\:DEL{#2}\fi}
\NewConfigure{mfenced}[2]{\append:defI\def:DEL{\check:DEL{#1}{#2}}}
\def\:tempc#1{\ht:special{t4ht@[}(\ht:special{t4ht@]}%
  \mathopen{\left:right\big{#1\:EMPTY}}\:EMPTY}
\HLet\bigl=\:tempc
\def\:tempc#1{\mathrel{\left:right\big{#1\:EMPTY}}}
\HLet\bigm=\:tempc
\def\:tempc#1{\:EMPTY
   \mathclose{\left:right\big{#1\:EMPTY}}%
   \ht:special{t4ht@[})\ht:special{t4ht@]}}
\HLet\bigr=\:tempc
\def\:tempc#1{\ht:special{t4ht@[}(\ht:special{t4ht@]}%
  \mathopen{\left:right\Big{#1}\:EMPTY}\:EMPTY}
\HLet\Bigl=\:tempc
\def\:tempc#1{\mathrel{\left:right\Big{#1\:EMPTY}}}
\HLet\Bigm=\:tempc
\def\:tempc#1{\:EMPTY
   \mathclose{\left:right\Big{#1\:EMPTY}}%
   \ht:special{t4ht@[})\ht:special{t4ht@]}}
\HLet\Bigr=\:tempc
\def\:tempc#1{\ht:special{t4ht@[}(\ht:special{t4ht@]}%
  \mathopen{\left:right\bigg{#1\:EMPTY}}\:EMPTY}
\HLet\biggl=\:tempc
\def\:tempc#1{\mathrel{\left:right\bigg{#1\:EMPTY}}}
\HLet\biggm=\:tempc
\def\:tempc#1{\:EMPTY
   \mathclose{\left:right\bigg{#1\:EMPTY}}%
   \ht:special{t4ht@[})\ht:special{t4ht@]}}
\HLet\biggr=\:tempc
\def\:tempc#1{\ht:special{t4ht@[}(\ht:special{t4ht@]}%
  \mathopen{\left:right\Bigg{#1\:EMPTY}}\:EMPTY}
\HLet\Biggl=\:tempc
\def\:tempc#1{\mathrel{\left:right\Bigg{#1\:EMPTY}}}
\HLet\Biggm=\:tempc
\def\:tempc#1{\:EMPTY
   \mathclose{\left:right\Bigg{#1}\:EMPTY}%
   \ht:special{t4ht@[})\ht:special{t4ht@]}}
\HLet\Biggr=\:tempc
\def\:tempc#1{{\hbox{$\left#1\hbox{}\right.\n@space$}}}
\HLet\big=\:tempc
\def\:tempc#1{{\hbox{$\left#1\hbox{}\right.\n@space$}}}
\HLet\Big=\:tempc
\def\:tempc#1{{\hbox{$\left#1\hbox{}\right.\n@space$}}}
\HLet\bigg=\:tempc
\def\:tempc#1{{\hbox{$\left#1\hbox{}\right.\n@space$}}}
\HLet\Bigg=\:tempc
\def\:EMPTY{{\HCode{}}}
\def\left:right{%
   \let\left\o:left:
   \let\right\o:right:
   \Configure{left}{}{}\Configure{right}{}{}}

\:CheckOption{new-accents}     \if:Option \else
   
\Configure{accents}
  {\ifmmode \expandafter\mathord\fi
     {\leavevmode
\if !#1!\ht:special{t4ht@+&\#x#2;}%
\else \expandafter \ifx\csname U#2#1\endcsname\relax
    \ht:special{t4ht@+&#2#1;}%
\else
    \ht:special{t4ht@+&\#x\csname U#2#1\endcsname;}%
\fi \fi x%
%
   \ht:special{t4ht@[}\if!#1!x\else#2\fi\ht:special{t4ht@]}}}
  {\AccentMath{\expandafter\ifx \csname :#1:over\endcsname\relax
  \HCode{<munder\Hnewline
   accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
      \csname :#1:under\endcsname
   \HCode{</munder>}%
%
\else \expandafter\ifx \csname :#1:under\endcsname\relax
  \HCode{<mover\Hnewline
   accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
   \csname :#1:over\endcsname
   \HCode{</mover>}%
%
\else
  \HCode{<munderover\Hnewline
   accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
   \csname :#1:under\endcsname
   \csname :#1:over\endcsname
   \HCode{</munderover>}%
%
\fi \fi
}}

\fi
\def\mathinner#1{\Tg<mrow
   class="mathinner">#1\Tg</mrow>}
\Configure{root}{\rev:root}{}{}
\def\rev:root #1\b:root#2\c:root{
   \Tg<mroot>{\Tg<mrow\Hnewline>#2\Tg</mrow>}%
             {\Tg<mrow\Hnewline>#1\Tg</mrow>}\Tg</mroot>}
\def\AccentMath#1{\relax\ifmmode #1\else $#1$\fi}
\NewConfigure{mfenced}[2]{\expandafter
   \def\csname \string#1:lr del\endcsname{#2}}
\Configure{mfenced}{\|}{\string&\#x2225;}
\Configure{mfenced}{.}{}
\Configure{mfenced}{\langle}{\string&\#x3008;} 
\Configure{mfenced}{\rangle}{\string&\#x3009;} 
\Configure{mfenced}{\vert}{|}
\edef\:temp{\noexpand\Configure{mfenced}{\noexpand\{}{\string{}}\:temp
\edef\:temp{\noexpand\Configure{mfenced}{\noexpand\}}{\string}}}\:temp
\edef\:temp{\noexpand
   \Configure{mfenced}{\noexpand\lbrace}{\string{}}\:temp
\edef\:temp{\noexpand
   \Configure{mfenced}{\noexpand\rbrace}{\string}}}\:temp
\Configure{mfenced}{<}{\string&\#x003C;} 
\Configure{mfenced}{>}{\string&\#x003E;} 
\def\:temp#1{%
   \Configure{mathop*}{*}{<mrow class="underbrace">}
         {</mrow>}%
         {\Configure{mathop}{}{}{}{}}%
   \mathop{\hbox{$\displaystyle{#1}$}}\limits}
\HLet\underbrace\:temp
\def\:temp#1{%
   \Configure{mathop*}{*}{<mrow class="overbrace">}
         {</mrow>}%
         {\Configure{mathop}{}{}{}{}}%
   \mathop{\hbox{$\displaystyle{#1}$}}\limits}
\HLet\overbrace\:temp
\let\A:oalign\a:oalign
\let\B:oalign\b:oalign
\Configure{oalign}
   {\ifmmode \Configure{$}{\Tg<mrow\Hnewline>}{\Tg</mrow>}{}%
             \let\halign\TeXhalign
             \Tg<mrow\Hnewline class="oalign">\else\A:oalign
    \fi}
   {\ifmmode \Tg</mrow>\else\B:oalign\fi}
\def\:nbsp{\ifmtext
    \HCode{\string&}\HChar{-35}\HCode{x00A0;}\else\ifmathml
    \Tg<mspace />\else\HCode{\string&}\HChar{-35}\HCode{x00A0;}\fi\fi}
\Configure{cases}
    {}{} {\Tg<mtable>}{\Tg</mtable>}
    {\Tg<mtr>}{\Tg</mtr>}
    {\Tg<mtd class="cases">}{\Tg</mtd>}
\Configure{matrix}
   {\Tg<mtable equalrows="false" equalcolumns="false"\Hnewline
          class="matrix">}
   {\Tg</mtable>}
   {\T<mtr>}{\Tg</mtr>}
   {\HCode{<mtd\Hnewline class="matrix"
   \ifnum 1<\HMultispan columnspan="\HMultispan"\fi}%
   \halignTD    \HCode{>}%
}{\Tg</mtd>}
\Configure{pmatrix}  {\bgroup\Tg<mrow\Hnewline
   class="pmatrix">}  {\Tg</mrow>\egroup}
\Configure{quad}{{\ifmathml \ifmtext \o:quad:\else
   \HCode{<mspace width="1em" class="quad"/>}\fi\else \o:quad: \fi}}
\Configure{qquad}{{\ifmathml \ifmtext \o:qquad:\else
   \HCode{<mspace width="2em" class="qquad"/>}\fi\else \o:qquad: \fi}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%







%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                \ConfigureHinput{fontmath}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \Configure{MathClass}{1}{}{}{}{
   \mathchar"1360
   \mathchar"1357
   \mathchar"1356
   \mathchar"1355
   \mathchar"1354
   \mathchar"1353
   \mathchar"1352
   \mathchar"1351
   \mathchar"1350
   \mathchar"134E
   \mathchar"134C
   \mathchar"134A
   \mathchar"1348
   \mathchar"1346
   \mathchar"1273
}
\Configure{MathClass}{2}{}{}{}{
*-+/
\mathchar"212F
\mathchar"212E
\mathchar"2234
\mathchar"2235
\mathchar"225E
\mathchar"225F
\mathchar"225C
\mathchar"225B
\mathchar"227A
\mathchar"2279
\mathchar"2275
\mathchar"2274
\mathchar"225D
\mathchar"2271
\mathchar"2205
\mathchar"220F
\mathchar"226F
\mathchar"2204
\mathchar"220C
\mathchar"220B
\mathchar"220A
\mathchar"2209
\mathchar"2208
\mathchar"2207
\mathchar"2206
\mathchar"220E
\mathchar"220D
\mathchar"226E
\mathchar"2201
\mathchar"2203
\mathchar"2202
\mathchar"213F
}
\Configure{MathClass}{3}{}{}{}{
   \mathchar"3128
   \mathchar"3129
   \mathchar"312A
   \mathchar"312B
   \mathchar"315E
   \mathchar"315F
   \mathchar"3210
   \mathchar"3211
   \mathchar"3212
   \mathchar"3213
   \mathchar"3214
   \mathchar"3215
   \mathchar"3216
   \mathchar"3217
   \mathchar"3218
   \mathchar"3219
   \mathchar"321A
   \mathchar"321B
   \mathchar"321C
   \mathchar"321D
   \mathchar"321E
   \mathchar"321F
   \mathchar"3220
   \mathchar"3221
   \mathchar"3224
   \mathchar"3227
   \mathchar"3232
   \mathchar"3233
   \mathchar"3236
   \mathchar"3237
   \mathchar"323F
   :=><
   \mathchar"322F
   \mathchar"3276
   \mathchar"3277
   \mathchar"326B
   \mathchar"326A
   \mathchar"3261
   \mathchar"3260
   \mathchar"3225
   \mathchar"3226
   \mathchar"322D
   \mathchar"322E
   \mathchar"322C
   \mathchar"3228
   \mathchar"3229
}
\Configure{MathClass}{4}{}{}{}{}
\Configure{MathDelimiters}{(}{)}
\Configure{MathDelimiters}{[}{]}
\Configure{MathDelimiters}{\mathchar"4262}{\mathchar"5263}
\Configure{MathDelimiters}{\mathchar"4264}{\mathchar"5265}
\Configure{MathDelimiters}{\mathchar"4266}{\mathchar"5267}
\Configure{MathDelimiters}{\mathchar"4268}{\mathchar"5269}
\Configure{MathDelimiters}{\mathchar"4300}{\mathchar"5301}
\Configure{MathDelimiters}{\mathchar"4302}{\mathchar"5303}
\Configure{MathDelimiters}{\mathchar"4304}{\mathchar"5305}
\Configure{MathDelimiters}{\mathchar"4306}{\mathchar"5307}
\Configure{MathDelimiters}{\mathchar"4308}{\mathchar"5309}
\Configure{MathDelimiters}{\mathchar"430A}{\mathchar"530B}
\Configure{MathClass}{6}{}{}{}{
\mathchar"613A
\mathchar"6201
\mathchar"603A
?; ,
}

\def\underarrow:#1#2#3{\Tg<munder>%
\Tg<mrow\Hnewline>#2\Tg</mrow>%
\Tg<mrow\Hnewline>#1\Tg</mrow>%
\Tg</munder>%
}
\def\overarrow:#1#2#3{\Tg<mover>%
\Tg<mrow\Hnewline>{#2#3}\Tg</mrow>%
\Tg<mrow>#1\Tg</mrow>%
\Tg</mover>%
}
\def\:tempc{\mathpalette{\overarrow:\rightarrow}}
\HLet\overrightarrow=\:tempc
\def\:tempc{\mathpalette{\overarrow:\leftarrow}}
\HLet\overleftarrow=\:tempc
\def\:tempc{\mathpalette{\overarrow:\leftrightarrow}}
\HLet\overleftrightarrow=\:tempc
\Configure{MathClass}{0}{*}{<mi\Hnewline class="MathClass-ord">}{</mi>}{}
\Configure{MathClass}{1}{*}{<mo\Hnewline class="MathClass-op">}{</mo>}{}
\Configure{MathClass}{2}{*}{<mo\Hnewline class="MathClass-bin">}{</mo>}{}
\Configure{MathClass}{3}{*}{<mo\Hnewline class="MathClass-rel">}{</mo>}{}
\:CheckOption{mathml-}     \if:Option
   \Configure{MathClass}{4}{*}{<mo\Hnewline class="MathClass-open">}
                           {</mo>}{}
   \Configure{MathClass}{5}{*}{<mo\Hnewline class="MathClass-close">}
                           {</mo>}{}
\else
   \immediate\write-1{--- Note --- for sources failing to produce
       clean mathml code, try the command line option `mathml-'}%
   \Configure{MathClass}{4}{*}{<mrow><mo\Hnewline class="MathClass-open">}
                           {</mo><mrow>}{}
   \Configure{MathClass}{5}{*}{</mrow><mo\Hnewline class="MathClass-close">}
                           {</mo></mrow>}{}
\fi
\Configure{MathClass}{6}{*}{<mo\Hnewline class="MathClass-punc">}{</mo>}{}
\Configure{MathClass}{7}{*}{<mn\Hnewline class="MathClass-ord">}{</mn>}
                           {0123456789}
\Configure{FormulaClass}{0}{}{}{}
\Configure{FormulaClass}{1}{}{}{}
\Configure{FormulaClass}{2}{}{}{}
\Configure{FormulaClass}{3}{}{}{}
\Configure{FormulaClass}{4}{}{}{}
\Configure{FormulaClass}{5}{}{}{}
\Configure{FormulaClass}{6}{}{}{}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%









%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                \ConfigureHinput{plain}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \:CheckOption{core}\if:Option \expandafter\endinput \fi
 \Configure{eqalign}
   {\HCode{<mtable class="eqalign">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr \Hnewline class="eqalign">}}
   {\IgnorePar\HCode{</mtr>}}
   {\HCode{\ifnum \HCol=3 <mtd\Hnewline
       class="eqalign3"></mtd>\fi
       <mtd \Hnewline  class="eqalign\HCol">}}
   {\HCode{</mtd>}}
\Configure{overline}
   {\bgroup \HCode{<mover  accent="false"\Hnewline
class="mml-overline"><mrow>}%
}
   {\HCode{</mrow><mo\Hnewline
 accent="true">&\#x00AF;</mo>%
</mover>}%
\egroup}
\Configure{underline}
   {\bgroup \HCode{<munder accentunder="false"\Hnewline
class="mml-underline"><mrow>}%
}
   {\HCode{</mrow><mo\Hnewline
accent="true">&\#x0332;</mo></munder>}%
\egroup}


\Configure{eqalignno}
   {\HCode{<mtable class="eqalignno">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline class="eqalignno">}}
   {\HCode{</mtr>}}
   {\HCode{<mtd \Hnewline class="eqalignno-\HCol">}}
   {\HCode{</mtd>}}
\def\:eqalignno:{\Configure{noalign}
  {\HCode{<mtr><mtd class="noalign" colspan="2">}}%
  {\HCode{</mtd></mtr>}}}
\Configure{leqalignno}
   {\HCode{<mtable class="leqalignno">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline class="leqalignno">}}
   {\HCode{</mtr>}}
   {\HCode{<mtd \Hnewline class="leqalignno-\HCol">}}
   {\HCode{</mtd>}}
\def\:leqalignno:{\Configure{noalign}
  {\HCode{<mtr><mtd class="noalign" colspan="2">}}%
  {\HCode{</mtd></mtr>}}}

\Configure{MathClass}{1}{}{}{}{
   \mathchar"1360
   \mathchar"1357
   \mathchar"1356
   \mathchar"1355
   \mathchar"1354
   \mathchar"1353
   \mathchar"1352
   \mathchar"1351
   \mathchar"1350
   \mathchar"134E
   \mathchar"134C
   \mathchar"134A
   \mathchar"1348
   \mathchar"1346
   \mathchar"1273
}
\Configure{MathClass}{2}{}{}{}{
*-+/
\mathchar"212F
\mathchar"212E
\mathchar"2234
\mathchar"2235
\mathchar"225E
\mathchar"225F
\mathchar"225C
\mathchar"225B
\mathchar"227A
\mathchar"2279
\mathchar"2275
\mathchar"2274
\mathchar"225D
\mathchar"2271
\mathchar"2205
\mathchar"220F
\mathchar"226F
\mathchar"2204
\mathchar"220C
\mathchar"220B
\mathchar"220A
\mathchar"2209
\mathchar"2208
\mathchar"2207
\mathchar"2206
\mathchar"220E
\mathchar"220D
\mathchar"226E
\mathchar"2201
\mathchar"2203
\mathchar"2202
\mathchar"213F
}
\Configure{MathClass}{3}{}{}{}{
   \mathchar"3128
   \mathchar"3129
   \mathchar"312A
   \mathchar"312B
   \mathchar"315E
   \mathchar"315F
   \mathchar"3210
   \mathchar"3211
   \mathchar"3212
   \mathchar"3213
   \mathchar"3214
   \mathchar"3215
   \mathchar"3216
   \mathchar"3217
   \mathchar"3218
   \mathchar"3219
   \mathchar"321A
   \mathchar"321B
   \mathchar"321C
   \mathchar"321D
   \mathchar"321E
   \mathchar"321F
   \mathchar"3220
   \mathchar"3221
   \mathchar"3224
   \mathchar"3227
   \mathchar"3232
   \mathchar"3233
   \mathchar"3236
   \mathchar"3237
   \mathchar"323F
   :=><
   \mathchar"322F
   \mathchar"3276
   \mathchar"3277
   \mathchar"326B
   \mathchar"326A
   \mathchar"3261
   \mathchar"3260
   \mathchar"3225
   \mathchar"3226
   \mathchar"322D
   \mathchar"322E
   \mathchar"322C
   \mathchar"3228
   \mathchar"3229
}
\Configure{MathClass}{4}{}{}{}{}
\Configure{MathDelimiters}{(}{)}
\Configure{MathDelimiters}{[}{]}
\Configure{MathDelimiters}{\mathchar"4262}{\mathchar"5263}
\Configure{MathDelimiters}{\mathchar"4264}{\mathchar"5265}
\Configure{MathDelimiters}{\mathchar"4266}{\mathchar"5267}
\Configure{MathDelimiters}{\mathchar"4268}{\mathchar"5269}
\Configure{MathDelimiters}{\mathchar"4300}{\mathchar"5301}
\Configure{MathDelimiters}{\mathchar"4302}{\mathchar"5303}
\Configure{MathDelimiters}{\mathchar"4304}{\mathchar"5305}
\Configure{MathDelimiters}{\mathchar"4306}{\mathchar"5307}
\Configure{MathDelimiters}{\mathchar"4308}{\mathchar"5309}
\Configure{MathDelimiters}{\mathchar"430A}{\mathchar"530B}
\Configure{MathClass}{6}{}{}{}{
\mathchar"613A
\mathchar"6201
\mathchar"603A
?; ,
}

\def\underarrow:#1#2#3{\Tg<munder>%
\Tg<mrow\Hnewline>#2\Tg</mrow>%
\Tg<mrow\Hnewline>#1\Tg</mrow>%
\Tg</munder>%
}
\def\overarrow:#1#2#3{\Tg<mover>%
\Tg<mrow\Hnewline>{#2#3}\Tg</mrow>%
\Tg<mrow>#1\Tg</mrow>%
\Tg</mover>%
}
\def\:tempc{\mathpalette{\overarrow:\rightarrow}}
\HLet\overrightarrow=\:tempc
\def\:tempc{\mathpalette{\overarrow:\leftarrow}}
\HLet\overleftarrow=\:tempc
\def\:tempc{\mathpalette{\overarrow:\leftrightarrow}}
\HLet\overleftrightarrow=\:tempc
\Configure{MathClass}{0}{*}{<mi\Hnewline class="MathClass-ord">}{</mi>}{}
\Configure{MathClass}{1}{*}{<mo\Hnewline class="MathClass-op">}{</mo>}{}
\Configure{MathClass}{2}{*}{<mo\Hnewline class="MathClass-bin">}{</mo>}{}
\Configure{MathClass}{3}{*}{<mo\Hnewline class="MathClass-rel">}{</mo>}{}
\:CheckOption{mathml-}     \if:Option
   \Configure{MathClass}{4}{*}{<mo\Hnewline class="MathClass-open">}
                           {</mo>}{}
   \Configure{MathClass}{5}{*}{<mo\Hnewline class="MathClass-close">}
                           {</mo>}{}
\else
   \immediate\write-1{--- Note --- for sources failing to produce
       clean mathml code, try the command line option `mathml-'}%
   \Configure{MathClass}{4}{*}{<mrow><mo\Hnewline class="MathClass-open">}
                           {</mo><mrow>}{}
   \Configure{MathClass}{5}{*}{</mrow><mo\Hnewline class="MathClass-close">}
                           {</mo></mrow>}{}
\fi
\Configure{MathClass}{6}{*}{<mo\Hnewline class="MathClass-punc">}{</mo>}{}
\Configure{MathClass}{7}{*}{<mn\Hnewline class="MathClass-ord">}{</mn>}
                           {0123456789}
\Configure{FormulaClass}{0}{}{}{}
\Configure{FormulaClass}{1}{}{}{}
\Configure{FormulaClass}{2}{}{}{}
\Configure{FormulaClass}{3}{}{}{}
\Configure{FormulaClass}{4}{}{}{}
\Configure{FormulaClass}{5}{}{}{}
\Configure{FormulaClass}{6}{}{}{}

\pend:def\arccos{\mml:prefix\nolimit:csname}
\pend:def\arcsin{\mml:prefix\nolimit:csname}
\pend:def\arctan{\mml:prefix\nolimit:csname}
\pend:def\arg{\mml:prefix\nolimit:csname}
\pend:def\cosh{\mml:prefix\nolimit:csname}
\pend:def\cos{\mml:prefix\nolimit:csname}
\pend:def\coth{\mml:prefix\nolimit:csname}
\pend:def\cot{\mml:prefix\nolimit:csname}
\pend:def\csc{\mml:prefix\nolimit:csname}
\pend:def\deg{\mml:prefix\nolimit:csname}
\pend:def\dim{\mml:prefix\nolimit:csname}
\pend:def\exp{\mml:prefix\nolimit:csname}
\pend:def\hom{\mml:prefix\nolimit:csname}
\pend:def\ker{\mml:prefix\nolimit:csname}
\pend:def\lg{\mml:prefix\nolimit:csname}
\pend:def\ln{\mml:prefix\nolimit:csname}
\pend:def\log{\mml:prefix\nolimit:csname}
\pend:def\sec{\mml:prefix\nolimit:csname}
\pend:def\sinh{\mml:prefix\nolimit:csname}
\pend:def\sin{\mml:prefix\nolimit:csname}
\pend:def\tanh{\mml:prefix\nolimit:csname}
\pend:def\tan{\mml:prefix\nolimit:csname}

\pend:def\Pr{\mml:prefix\limit:csname}
\pend:def\det{\mml:prefix\limit:csname}
\pend:def\gcd{\mml:prefix\limit:csname}
\pend:def\inf{\mml:prefix\limit:csname}
\pend:def\liminf{\mml:prefix\limit:csname}
\pend:def\limsup{\mml:prefix\limit:csname}
\pend:def\lim{\mml:prefix\limit:csname}
\pend:def\max{\mml:prefix\limit:csname}
\pend:def\min{\mml:prefix\limit:csname}
\pend:def\sup{\mml:prefix\limit:csname}
\def\mml:prefix#1{%
   \Configure{mathop}{*}{<mo\Hnewline>}{</mo>}%
    {\Configure{mathop}{*}{<mo>}{</mo>}{}}}
\def\limit:csname{form="prefix" class="csname-limit"}
\def\nolimit:csname{form="prefix" class="csname-nolimit"}
\let\A:displaylines\a:displaylines
\let\B:displaylines\b:displaylines
\let\C:displaylines\c:displaylines
\let\D:displaylines\d:displaylines
\Configure{displaylines}
   {\ifmmode
     \def\A:displaylines{\HCode{<mtable
                                    class="displaylines">}}%
     \def\B:displaylines{\HCode{</mtable>}}%
     \def\C:displaylines{\HCode{<mtr\Hnewline
                               class="displaylines"><mtd>}}%
     \def\D:displaylines{\HCode{</mtd></mtr>}}%
    \fi
    \A:displaylines}
   {\B:displaylines} {\C:displaylines}{\D:displaylines}
\let\mathml:on\relax
\Configure{ }
   {\ifmathml \ifmtext \space \else\Tg<mspace class="nbsp" />\fi
    \else \:nbsp\fi}
\:CheckOption{new-accents}     \if:Option \else
  \Configure{accent}\widetilde\widetilde{{}{}}
  {}
  {\HCode{<mover\Hnewline accent="false"><mrow\Hnewline>}#2\HCode{</mrow>}%
    \:widetilde:over  \HCode{</mover>}}
  \Configure{accent}\widehat\widehat{{}{}}
  {}
  {\HCode{<mover\Hnewline accent="false"><mrow\Hnewline>}#2\HCode{</mrow>}%
    \:widehat:over  \HCode{</mover>}}
\fi
\:CheckOption{new-accents}     \if:Option \else
   \ifx \mathml:on\:UnDef
      \Configure{accents}
        {\ifmmode \expandafter\mathord\fi
         {\leavevmode
\if !#1!\ht:special{t4ht@+&\#x#2;}%
\else \expandafter \ifx\csname U#2#1\endcsname\relax
    \ht:special{t4ht@+&#2#1;}%
\else
    \ht:special{t4ht@+&\#x\csname U#2#1\endcsname;}%
\fi \fi x%
%
          \ht:special{t4ht@[}\if!#1!x\else#2\fi\ht:special{t4ht@]}}}
        {\Tg<mrow
                class="accent#1">\mathord{#3}\Tg</mrow>%
        }%
   \fi
\fi
\let\mml:TeX\TeX
\def\TeX{\ifmathml
   \HCode{<mtext
      class="TeX">TeX</mtext>}\else \mml:TeX\fi}
\def\:temp#1{\a:left{#1}\o:left:.\b:left{#1}}   \HLet\left\:temp
\def\:temp#1{\a:right{#1}\o:right:.\b:right{#1}}\HLet\right\:temp
\Configure{left}
   {}
   {\HCode{<mfenced separators=""\Hnewline
       open="\expandafter
\ifx \csname \string#1:lr del\endcsname\relax #1\else
     \csname \string#1:lr del\endcsname\fi
"\space }\bgroup \HCode{>}\bgroup}
\Configure{right}
   {\egroup\Send{GROUP}{0}{ close="\expandafter
\ifx \csname \string#1:lr del\endcsname\relax #1\else
     \csname \string#1:lr del\endcsname\fi
"\space}\egroup}
   {\HCode{</mfenced>}}
\def\def:DEL#1{\def\:DEL{#1}}
\def\check:DEL#1#2{\def\:tempa{#1}\ifx \:tempa\:DEL \def\:DEL{#2}\fi}
\NewConfigure{mfenced}[2]{\append:defI\def:DEL{\check:DEL{#1}{#2}}}
\def\:tempc#1{\ht:special{t4ht@[}(\ht:special{t4ht@]}%
  \mathopen{\left:right\big{#1\:EMPTY}}\:EMPTY}
\HLet\bigl=\:tempc
\def\:tempc#1{\mathrel{\left:right\big{#1\:EMPTY}}}
\HLet\bigm=\:tempc
\def\:tempc#1{\:EMPTY
   \mathclose{\left:right\big{#1\:EMPTY}}%
   \ht:special{t4ht@[})\ht:special{t4ht@]}}
\HLet\bigr=\:tempc
\def\:tempc#1{\ht:special{t4ht@[}(\ht:special{t4ht@]}%
  \mathopen{\left:right\Big{#1}\:EMPTY}\:EMPTY}
\HLet\Bigl=\:tempc
\def\:tempc#1{\mathrel{\left:right\Big{#1\:EMPTY}}}
\HLet\Bigm=\:tempc
\def\:tempc#1{\:EMPTY
   \mathclose{\left:right\Big{#1\:EMPTY}}%
   \ht:special{t4ht@[})\ht:special{t4ht@]}}
\HLet\Bigr=\:tempc
\def\:tempc#1{\ht:special{t4ht@[}(\ht:special{t4ht@]}%
  \mathopen{\left:right\bigg{#1\:EMPTY}}\:EMPTY}
\HLet\biggl=\:tempc
\def\:tempc#1{\mathrel{\left:right\bigg{#1\:EMPTY}}}
\HLet\biggm=\:tempc
\def\:tempc#1{\:EMPTY
   \mathclose{\left:right\bigg{#1\:EMPTY}}%
   \ht:special{t4ht@[})\ht:special{t4ht@]}}
\HLet\biggr=\:tempc
\def\:tempc#1{\ht:special{t4ht@[}(\ht:special{t4ht@]}%
  \mathopen{\left:right\Bigg{#1\:EMPTY}}\:EMPTY}
\HLet\Biggl=\:tempc
\def\:tempc#1{\mathrel{\left:right\Bigg{#1\:EMPTY}}}
\HLet\Biggm=\:tempc
\def\:tempc#1{\:EMPTY
   \mathclose{\left:right\Bigg{#1}\:EMPTY}%
   \ht:special{t4ht@[})\ht:special{t4ht@]}}
\HLet\Biggr=\:tempc
\def\:tempc#1{{\hbox{$\left#1\hbox{}\right.\n@space$}}}
\HLet\big=\:tempc
\def\:tempc#1{{\hbox{$\left#1\hbox{}\right.\n@space$}}}
\HLet\Big=\:tempc
\def\:tempc#1{{\hbox{$\left#1\hbox{}\right.\n@space$}}}
\HLet\bigg=\:tempc
\def\:tempc#1{{\hbox{$\left#1\hbox{}\right.\n@space$}}}
\HLet\Bigg=\:tempc
\def\:EMPTY{{\HCode{}}}
\def\left:right{%
   \let\left\o:left:
   \let\right\o:right:
   \Configure{left}{}{}\Configure{right}{}{}}

\:CheckOption{new-accents}     \if:Option \else
   
\Configure{accents}
  {\ifmmode \expandafter\mathord\fi
     {\leavevmode
\if !#1!\ht:special{t4ht@+&\#x#2;}%
\else \expandafter \ifx\csname U#2#1\endcsname\relax
    \ht:special{t4ht@+&#2#1;}%
\else
    \ht:special{t4ht@+&\#x\csname U#2#1\endcsname;}%
\fi \fi x%
%
   \ht:special{t4ht@[}\if!#1!x\else#2\fi\ht:special{t4ht@]}}}
  {\AccentMath{\expandafter\ifx \csname :#1:over\endcsname\relax
  \HCode{<munder\Hnewline
   accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
      \csname :#1:under\endcsname
   \HCode{</munder>}%
%
\else \expandafter\ifx \csname :#1:under\endcsname\relax
  \HCode{<mover\Hnewline
   accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
   \csname :#1:over\endcsname
   \HCode{</mover>}%
%
\else
  \HCode{<munderover\Hnewline
   accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
   \csname :#1:under\endcsname
   \csname :#1:over\endcsname
   \HCode{</munderover>}%
%
\fi \fi
}}

\fi
\def\mathinner#1{\Tg<mrow
   class="mathinner">#1\Tg</mrow>}
\Configure{root}{\rev:root}{}{}
\def\rev:root #1\b:root#2\c:root{
   \Tg<mroot>{\Tg<mrow\Hnewline>#2\Tg</mrow>}%
             {\Tg<mrow\Hnewline>#1\Tg</mrow>}\Tg</mroot>}
\def\AccentMath#1{\relax\ifmmode #1\else $#1$\fi}
\NewConfigure{mfenced}[2]{\expandafter
   \def\csname \string#1:lr del\endcsname{#2}}
\Configure{mfenced}{\|}{\string&\#x2225;}
\Configure{mfenced}{.}{}
\Configure{mfenced}{\langle}{\string&\#x3008;} 
\Configure{mfenced}{\rangle}{\string&\#x3009;} 
\Configure{mfenced}{\vert}{|}
\edef\:temp{\noexpand\Configure{mfenced}{\noexpand\{}{\string{}}\:temp
\edef\:temp{\noexpand\Configure{mfenced}{\noexpand\}}{\string}}}\:temp
\edef\:temp{\noexpand
   \Configure{mfenced}{\noexpand\lbrace}{\string{}}\:temp
\edef\:temp{\noexpand
   \Configure{mfenced}{\noexpand\rbrace}{\string}}}\:temp
\Configure{mfenced}{<}{\string&\#x003C;} 
\Configure{mfenced}{>}{\string&\#x003E;} 
\def\:temp#1{%
   \Configure{mathop*}{*}{<mrow class="underbrace">}
         {</mrow>}%
         {\Configure{mathop}{}{}{}{}}%
   \mathop{\hbox{$\displaystyle{#1}$}}\limits}
\HLet\underbrace\:temp
\def\:temp#1{%
   \Configure{mathop*}{*}{<mrow class="overbrace">}
         {</mrow>}%
         {\Configure{mathop}{}{}{}{}}%
   \mathop{\hbox{$\displaystyle{#1}$}}\limits}
\HLet\overbrace\:temp
\let\A:oalign\a:oalign
\let\B:oalign\b:oalign
\Configure{oalign}
   {\ifmmode \Configure{$}{\Tg<mrow\Hnewline>}{\Tg</mrow>}{}%
             \let\halign\TeXhalign
             \Tg<mrow\Hnewline class="oalign">\else\A:oalign
    \fi}
   {\ifmmode \Tg</mrow>\else\B:oalign\fi}
\def\:nbsp{\ifmtext
    \HCode{\string&}\HChar{-35}\HCode{x00A0;}\else\ifmathml
    \Tg<mspace />\else\HCode{\string&}\HChar{-35}\HCode{x00A0;}\fi\fi}
\Configure{cases}
    {}{} {\Tg<mtable>}{\Tg</mtable>}
    {\Tg<mtr>}{\Tg</mtr>}
    {\Tg<mtd class="cases">}{\Tg</mtd>}
\Configure{matrix}
   {\Tg<mtable equalrows="false" equalcolumns="false"\Hnewline
          class="matrix">}
   {\Tg</mtable>}
   {\T<mtr>}{\Tg</mtr>}
   {\HCode{<mtd\Hnewline class="matrix"
   \ifnum 1<\HMultispan columnspan="\HMultispan"\fi}%
   \halignTD    \HCode{>}%
}{\Tg</mtd>}
\Configure{pmatrix}  {\bgroup\Tg<mrow\Hnewline
   class="pmatrix">}  {\Tg</mrow>\egroup}
\Configure{quad}{{\ifmathml \ifmtext \o:quad:\else
   \HCode{<mspace width="1em" class="quad"/>}\fi\else \o:quad: \fi}}
\Configure{qquad}{{\ifmathml \ifmtext \o:qquad:\else
   \HCode{<mspace width="2em" class="qquad"/>}\fi\else \o:qquad: \fi}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                \ConfigureHinput{amsmath}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \Configure{underarrow@}
   {\Tg<munder>\Tg<mrow\Hnewline>}
   {\Tg</mrow>\Tg<mrow\Hnewline>}
   {\Tg</mrow>\Tg</munder>}
\Configure{overarrow@}
   {\Tg<mover>\Tg<mrow\Hnewline>}
   {\Tg</mrow>\Tg<mrow>}
   {\Tg</mrow>\Tg</mover>}
\def\:tempc#1#2#3{\a:overarrow@
      \hbox{$\m@th#2#3$}\b:overarrow@
      \hbox{#1#2}\c:overarrow@
   }
\HLet\overarrow@\:tempc
\ifx \deferred@thm@head\:UnDef\else
\ifx \o:overrightarrow:\:UnDef\else
   \HRestore\overrightarrow
   \HRestore\overleftarrow
   \HRestore\overleftrightarrow
\fi\fi

\Configure{above}
   {\Send{GROUP}{0}{<mfrac linethickness="\the\tmp:dim"><mrow>}%
    \HCode{</mrow>}\o:@@over:\:gobbleII}
   {\HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}}
\def\overwithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{<mfrac linethickness="0"><mrow>}%
      \HCode{</mrow>}\o:over:
      \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}
   \else
      \Send{GROUP}{0}{<mfenced separators=""\Hnewline
          open="\expandafter
\ifx \csname \string#2:lr del\endcsname\relax #2\else
     \csname \string#2:lr del\endcsname\fi
" close="\expandafter
\ifx \csname \string#3:lr del\endcsname\relax #3\else
     \csname \string#3:lr del\endcsname\fi
"><mfrac
          linethickness="0"><mrow>}%
      \HCode{</mrow>}\o:@@over:
      \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac></mfenced>}
   \fi
 }
\Configure{mfenced}{\lvert}{|}
\Configure{mfenced}{\rvert}{|}
\Configure{mfenced}{\lVert}{|}
\Configure{mfenced}{\rVert}{|}
\Configure{split}
   {\HCode{<mtable
          class="split"><mtr><mtd>}}
   {\HCode{</mtd></mtr></mtable>}}
   {\HCode{<mrow\Hnewline
          class="split-mtr"></mrow>}} {}
   {\HCode{<mrow\Hnewline
          class="split-mtd"></mrow>}} {}
\Configure{multline}
   {\HCode{<mtable\Hnewline  class="multline">}} {\HCode{</mtable>}}
   {\HCode{<mtr><mtd\Hnewline class="multline">}}{\HCode{</mtd></mtr>}}
   {\HCode{</mtd><mtd>}} {}
\Configure{multline*}
   {\HCode{<mtable\Hnewline class="multline-star">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr><mtd\Hnewline
                                        class="multline-star">}}
   {\HCode{</mtd></mtr>}}
\Configure{gather}
   {\HCode{<mtable\Hnewline class="gather">}}   {\HCode{</mtable>}}
   {\HCode{<mtr>}}    {\HCode{</mtr>}}
   {\HCode{\Hnewline<mtd>}}   {\HCode{</mtd>}}
\Configure{gather*}
   {\HCode{<mtable\Hnewline class="gather-star">}} {\HCode{</mtable>}}
   {\HCode{<mtr>}}    {\HCode{</mtr>}}
   {\HCode{\Hnewline<mtd>}}   {\HCode{</mtd>}}
\Configure{subarray}
   {\HCode{<mtable class="subarray\if c\Hlcr-c\fi"
       rowspacing="0" \if c\Hlcr columnalign="center"\fi>}}
   {\HCode{</mtable>}}
   {\HCode{<mtr><mtd>}}
   {\HCode{</mtd></mtr>}}
\Configure{smallmatrix}
   {\HCode{<mtable>}}
   {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline class="smallmatrix">}}
   {\HCode{</mtr>}}
   {\HCode{\Hnewline<mtd>}}
   {\HCode{</mtd>}}
\def\:tempc#1#2{%
   \Configure{#1}
   {\IgnorePar
    \ifvmode\else \HCode{<!--tex4ht:inline-->}\fi    \EndP
    \ifmathml \Tg<mrow>\def\end:mathalign{\Tg</mrow>}%
    \else
       \Configure{@math}{display="block"}\DviMath
       \let\end:mathalign\EndDviMath \fi
    \HCode{<mtable\Hnewline class="#2">}}
   {\HCode{</mtable>}\end:mathalign}
   {\HCode{<mtr>}}    {\HCode{</mtr>}}
   {\HCode{<mtd\Hnewline
      class="align-\ifnum \HCol>\maxfields@ label\else
         \ifodd\HCol\space  odd\else     even\fi
       \fi">}}
   {\HCode{</mtd>}}}
\:tempc{align}{align}
\:tempc{alignat}{alignat}
\:tempc{xalignat}{xalignat}
\:tempc{xxalignat}{xxalignat}
\:tempc{flalign}{flalign}
\:tempc{align*}{align-star}
\:tempc{alignat*}{alignat-star}
\:tempc{xalignat*}{xalignat-star}
\:tempc{flalign*}{flalign-star}
\def\m:env#1{\HCode{<mtable
   class="#1"><mtr><mtd>}%
   \def\endm:env{\HCode
      {</mtd></mtr></mtable>}}}

\renewcommand{\xrightarrow}[2][]{%
   \Tg<munderover>\Tg<mrow\Hnewline>#1\Tg</mrow>%
                     \rightarrow
                     \Tg<mrow\Hnewline>#2\Tg</mrow>%
   \Tg</munderover>}%
\renewcommand{\xleftarrow}[2][]{%
   \Tg<munderover>\Tg<mrow\Hnewline>#1\Tg</mrow>%
                     \leftarrow
                     \Tg<mrow\Hnewline>#2\Tg</mrow>%
   \Tg</munderover>}%

\def\overset#1#2{%
      \Tg<mover>\Tg<mrow\Hnewline>#1\Tg</mrow>%
                \Tg<mrow\Hnewline>#2\Tg</mrow>%
      \Tg</mover>}%
\def\underset#1#2{%
      \Tg<munder>\Tg<mrow\Hnewline>#1\Tg</mrow>%
                 \Tg<mrow\Hnewline>#2\Tg</mrow>%
      \Tg</munder>}%

\def\sideset#1#2#3{{{\HCode{}}#1{\HCode{}#3}#2}}

\renewcommand{\hdotsfor}[1]{%
  \ifx[#1\@xp\shdots@for\else\hdots@for\@ne{#1}\fi}
\def\shdots@for#1]{\hdots@for{#1}}
\def\hdots@for#1#2{\multicolumn{#2}c%
  {\m@th\dotsspace@1.5mu\mkern-#1\dotsspace@
   \xleaders\hbox{$\m@th\mkern#1\dotsspace@.\mkern#1\dotsspace@$}%
           \hfill
   \mkern-#1\dotsspace@}%
   }
\ConfigureEnv{align*}{}{}{}{}
\ConfigureEnv{alignat*}{}{}{}{}
\ConfigureEnv{alignat}{}{}{}{}
\ConfigureEnv{align}{}{}{}{}
\ConfigureEnv{eqxample}{}{}{}{}
\ConfigureEnv{flalign*}{}{}{}{}
\ConfigureEnv{flalign}{}{}{}{}
\ConfigureEnv{gather*}{}{}{}{}
\ConfigureEnv{gathered}{}{}{}{}
\ConfigureEnv{matrix}{}{}{}{}
\ConfigureEnv{quotation}{}{}{}{}
\ConfigureEnv{xalignat*}{}{}{}{}
\ConfigureEnv{xalignat}{}{}{}{}
\ConfigureEnv{xxalignat}{}{}{}{}
\def\:temp#1{%
   \Configure{mathop*}{*}{<mrow class="underbrace">}
      {</mrow>}%
      {\Configure{mathop}{}{}{}{}}%
   \mathop{\vtop{$\displaystyle{#1}$}}\limits}
\HLet\underbrace\:temp
\Configure{equation}
  {\Configure{gather}
     {\HCode{<mtable\Hnewline
         class="equation"><mtr><mtd>}\IgnorePar }
     {\HCode{</mtd></mtr></mtable>}}
     {}
     {}
     {\ifnum\HCol=2 \IgnorePar
         \HCode{</mtd><mtd>}\fi }
     {}
  }{}{}

\def\:tempc{\DOTSI\protect\:idotsint}
\HLet\idotsint\:tempc
\def\:idotsint{%
  \mathop{\intop\cdotp\cdotp\cdotp\intop }\ilimits@
}

\Configure{abovewithdelims}
   {\abovewithdelims:III}
   {}
\def\abovewithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{<mfrac linethickness="\the\tmp:dim"><mrow>}%
      \HCode{</mrow>}\o:@@over:
      \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}
   \else
      \Send{GROUP}{0}{<mfenced separators=""\Hnewline
          open="\expandafter
\ifx \csname \string#2:lr del\endcsname\relax #2\else
     \csname \string#2:lr del\endcsname\fi
" close="\expandafter
\ifx \csname \string#3:lr del\endcsname\relax #3\else
     \csname \string#3:lr del\endcsname\fi
"><mfrac
          linethickness="\the\tmp:dim"><mrow>}%
      \HCode{</mrow>}\o:@@over:
      \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac></mfenced>}
   \fi
   \tmp:dim
 }
\Configure{atopwithdelims}
   {\atopwithdelims:III}
   {}
\def\atopwithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{<mfrac linethickness="0"><mrow>}%
      \HCode{</mrow>}\o:@@atop:
      \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}
   \else
      \Send{GROUP}{0}{<mfenced separators=""\Hnewline
          open="\expandafter
\ifx \csname \string#2:lr del\endcsname\relax #2\else
     \csname \string#2:lr del\endcsname\fi
" close="\expandafter
\ifx \csname \string#3:lr del\endcsname\relax #3\else
     \csname \string#3:lr del\endcsname\fi
"><mfrac
          linethickness="0"><mrow>}%
      \HCode{</mrow>}\o:@@atop:
      \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac></mfenced>}
   \fi
 }
\Configure{overwithdelims}
   {\overwithdelims:III}
   {}
\def\overwithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{<mfrac><mrow>}%
      \HCode{</mrow>}\o:@@over:
      \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}
   \else
      \Send{GROUP}{0}{<mfenced separators=""\Hnewline
          open="\expandafter
\ifx \csname \string#2:lr del\endcsname\relax #2\else
     \csname \string#2:lr del\endcsname\fi
" close="\expandafter
\ifx \csname \string#3:lr del\endcsname\relax #3\else
     \csname \string#3:lr del\endcsname\fi
"><mfrac><mrow>}%
      \HCode{</mrow>}\o:@@over:
      \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac></mfenced>}
   \fi
 }

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                \ConfigureHinput{amstext}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \Configure{text}{\AA:text{text}}{\BB:text}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                \ConfigureHinput{amstex1}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % amstex.sty
\Configure{underarrow@}
   {\Tg<munder>\Tg<mrow\Hnewline>}
   {\Tg</mrow>\Tg<mrow\Hnewline>}
   {\Tg</mrow>\Tg</munder>}
\Configure{overarrow@}
   {\Tg<mover>\Tg<mrow\Hnewline>}
   {\Tg</mrow>\Tg<mrow>}
   {\Tg</mrow>\Tg</mover>}
\def\:tempc#1#2#3{\a:overarrow@
      \hbox{$\m@th#2#3$}\b:overarrow@
      \hbox{#1#2}\c:overarrow@
   }
\HLet\overarrow@\:tempc
\ifx \deferred@thm@head\:UnDef\else
\ifx \o:overrightarrow:\:UnDef\else
   \HRestore\overrightarrow
   \HRestore\overleftarrow
   \HRestore\overleftrightarrow
\fi\fi

\Configure{mfenced}{\lvert}{|}
\Configure{mfenced}{\rvert}{|}
\Configure{mfenced}{\lVert}{|}
\Configure{mfenced}{\rVert}{|}
\ConfigureEnv{aligned}{}{}{}{}
\Configure{aligned}
   {\HCode{<mtable\Hnewline class="aligned">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline>}}   {\HCode{</mtr>}}
   {\HCode{<mtd>}}   {\HCode{</mtd>}}


\def\varinjlim{{\underrightarrow\lim}}
\def\varprojlim{{\underleftarrow\lim}}
\def\varlimsup{{\overline\lim}}
\def\varliminf{{\underline\lim}}
\def\textdef@#1#2#3{\hbox{{\mtexttrue
   \HCode{<mrow\Hnewline
       class="text"><mtext \a:@mtext>}\PauseMathClass
   \Configure{$}{\EndPauseMathClass\mtextfalse
      \HCode{</mtext><mrow\Hnewline class="math">}}
        {\HCode{</mrow><mtext
           \a:@mtext>}\mtexttrue\PauseMathClass}{#1}
   \let\f@size#2\selectfont #3}%
   \mtextfalse \EndPauseMathClass\HCode
      {</mtext></mrow>}}}

  
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%









%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                \ConfigureHinput{amstex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % amstex.tex
\def\m:env#1{\HCode{<mtable
   class="#1"><mtr><mtd>}%
   \def\endm:env{\HCode
      {</mtd></mtr></mtable>}}}

\Configure{pmatrix}
   {\bgroup\m:env{pmatrix}}
   {\endm:env\egroup}
\Configure{multline}
   {\HCode{<mtable class="multline">}}           {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline class="multline"><mtd>}}{\HCode{</mtd></mtr>}}
\Configure{smallmatrix}
   {\HCode{<mtable class="smallmatrix">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline class="smallmatrix">}}
   {\HCode{</mtr>}}
   {\HCode{<mtd\Hnewline class="smallmatrix">}}
   {\HCode{</mtd>}}
\Configure{bmatrix}
   {\bgroup\m:env{bmatrix}}
   {\endm:env\egroup}
\Configure{vmatrix}{\bgroup\m:env{vmatrix}}{\endm:env\egroup}
\Configure{Vmatrix}{\bgroup\m:env{Vmatrix}}{\endm:env\egroup}
\Configure{aligned}
   {\HCode{<mtable class="aligned">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline class="aligned">}}
   {\HCode{</mtr>}}
   {\HCode{<mtd\Hnewline class="aligned">}}
   {\HCode{</mtd>}}
\Configure{xalignat}
   {\HCode{<mtable class="xalignat">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline class="xalignat">}}
   {\HCode{</mtr>}}
   {\HCode{<mtd\Hnewline class="xalignat">}}
   {\HCode{</mtd>}}
\Configure{xxalignat}
   {\HCode{<mtable class="xxalignat">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline class="xxalignat">}}
   {\HCode{</mtr>}}
   {\HCode{<mtd\Hnewline class="xxalignat">}}
   {\HCode{</mtd>}}
\Configure{alignedat}
   {\HCode{<mtable class="alignedat">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline class="alignedat">}}
   {\HCode{</mtr>}}
   {\HCode{<mtd\Hnewline class="alignedat">}}
   {\HCode{</mtd>}}
\Configure{gathered}
   {\HCode{<mtable class="gathered">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline class="gathered">}}
   {\HCode{</mtr>}}
   {\HCode{<mtd\Hnewline class="gathered">}}
   {\HCode{</mtd>}}
\NewConfigure{@mtext}{1}
\Configure{@mtext}{}
\def\AA:text#1{\mtexttrue
   \HCode{<mrow\Hnewline
      class="#1"><mtext \a:@mtext>}\PauseMathClass
   \Configure{$}{\EndPauseMathClass \mtextfalse
       \HCode{</mtext><mrow\Hnewline class="math">}}
     {\HCode{</mrow><mtext \a:@mtext>}\PauseMathClass
                 \mtexttrue}{}}
\def\BB:text{\mtextfalse\EndPauseMathClass\HCode
     {</mtext></mrow>}}

\Configure{text}{\AA:text{text}}{\BB:text}
\Configure{format}
   {\HCode{<mtable class="format">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline class="format">}}
   {\HCode{</mtr>}}
   {\HCode{<mtd\Hnewline class="format">}}
   {\HCode{</mtd>}}
\Configure{multilimits}
   {\HCode{<mtable\Hnewline class="multilimits">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr><mtd\Hnewline>}}
   {\HCode{</mtd></mtr>}}
\Configure{smallmatrix}
   {\HCode{<mtable\Hnewline class="smallmatrix">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr>}}
   {\HCode{</mtr>}}
   {\HCode{<mtd\Hnewline>}}
   {\HCode{</mtd>}}
\Configure{matrix}
   {\HCode{<mtable\Hnewline class="matrix">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline>}}   {\HCode{</mtr>}}
   {\HCode{\HCode{<mtd\Hnewline class="matrix"
   \ifnum 1<\HMultispan columnspan="\HMultispan"\fi}%
   \halignTD    \HCode{>}%
}}   {\HCode{</mtd>}}
\Configure{pmatrix}{\Tg<mrow class="pmatrix">}
                   {\Tg</mrow>}
\Configure{align}
   {\HCode{<mtable\Hnewline class="align">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline>}}   {\HCode{</mtr>}}
   {\HCode{<mtd>}}   {\HCode{</mtd>}}
\Configure{aligned}
   {\HCode{<mtable\Hnewline class="aligned">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline>}}   {\HCode{</mtr>}}
   {\HCode{<mtd>}}   {\HCode{</mtd>}}
\Configure{cases}
   {\Tg<mrow class="cases">}
   {\Tg</mrow>}
\Configure{alignat}
   {\HCode{<mtable class="alignat">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline class="alignat">}}
   {\HCode{</mtr>}}
   {\HCode{<mtd\Hnewline class="alignat">}}
   {\HCode{</mtd>}}
\Configure{gather}
   {\HCode{<mtable class="gather">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr\Hnewline class="gather">}}
   {\HCode{</mtr>}}
   {\HCode{<mtd\Hnewline class="gather">}}
   {\HCode{</mtd>}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                \ConfigureHinput{amsopn}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
         \def\varinjlim{{\underrightarrow\lim}}
\def\varprojlim{{\underleftarrow\lim}}
\def\varlimsup{{\overline\lim}}
\def\varliminf{{\underline\lim}}
\def\textdef@#1#2#3{\hbox{{\mtexttrue
   \HCode{<mrow\Hnewline
       class="text"><mtext \a:@mtext>}\PauseMathClass
   \Configure{$}{\EndPauseMathClass\mtextfalse
      \HCode{</mtext><mrow\Hnewline class="math">}}
        {\HCode{</mrow><mtext
           \a:@mtext>}\mtexttrue\PauseMathClass}{#1}
   \let\f@size#2\selectfont #3}%
   \mtextfalse \EndPauseMathClass\HCode
      {</mtext></mrow>}}}

  
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%













%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                \ConfigureHinput{array}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \def\:array:{\HCode{\Hnewline
   equalrows="false" equalcolumns="false" class="array"}<>\HAlign}
\Configure{array}
   {\halignTB{array}}
   {\expandafter\tmp:toks\expandafter{\Clr}%
\HCode{<!--\the\tmp:toks-->}%
\Tg</mtable>}
   {\Tg<mtr>}{\Tg</mtr>}
   {\HCode{<mtd\Hnewline class="array"
   \ifnum 1<\HMultispan columnspan="\HMultispan"\fi}%
   \halignTD    \HCode{>}%
}
   {\Tg</mtd>}
\ConfigureEnv{array}
   {\bgroup\Configure{$}{}{}{}} {\egroup} {}{}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


























%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                \ConfigureHinput{vanilla}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
          \Configure{align}
   {\EndP\HCode{<mtable\Hnewline class="align">}}
   {\HCode{</mtable>}}
   {\HCode{<mtr>}}   {\HCode{</mtr>}}
   {\HCode{<mtd>}}   {\HCode{</mtd>}}

  
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%













































































































































\endinput

