\let\A:equation=\a:equation
\let\B:equation=\b:equation
\let\C:equation=\c:equation
\Configure{equation}
{\A:equation<.math display in equation.>}
{\B:equation}{\C:equation} -_-_-
\Configure{equation}
{\IgnorePar<.inline end-par comment.>\EndP
\HCode{<table class="equation"><tr><td>}\IgnorePar
<.math display in equation.>}
{\ifvmode \IgnorePar\fi\EndP\HCode{</td><td class="eq-no">}}
{\HCode{</td></tr></table>}<.try inline par.>}
\Css{.equation td{text-align:center; vertical-align:middle; }}
\Css{td.eq-no{ width:5\%; }}
\Css{table.equation { width:100\%; } } -_-_-
\csname a:equation\string$\string$\endcsname
-_-_-
\NewConfigure{equation$$}{1}
\Configure{equation$$}
{\Configure{$$}
{\Configure{@math}{div}\IgnorePar\EndP\DviMath}
{\EndDviMath\EndP}
{\DisplayMathtrue}%
}
-_-_-
\Configure{equation}
{\Configure{gather}
{\HCode{<mtable\Hnewline
\mml:class="equation"><mtr><mtd>}\IgnorePar }
{\HCode{</mtd></mtr></mtable>}}
{}
{}
{\ifnum\HCol=2 \IgnorePar
\HCode{</mtd><mtd>}\fi }
{}
}{}{}
\Configure{equation*}
{\Configure{gather*}
{\HCode{<mtable\Hnewline
\mml:class="equation-star"><mtr><mtd>}\IgnorePar }
{\HCode{</mtd></mtr></mtable>}}
{}
{}
{\ifnum\HCol=2 \IgnorePar
\HCode{</mtd><mtd>}\fi }
{}
}{}
\Css{.equation-star td{text-align:center; }}
\Css{table.equation-star { width:100\%; }}
-_-_-
\Configure{equation}
{\ifvmode \IgnorePar\fi \EndP
\HCode{<table class="equation"><tr><td>}%
<.amsmath equation pre 2000.>%
\IgnorePar
}
{\ifvmode \IgnorePar\fi\EndP \HCode{</td><td class="eq-no">}}
{\ifvmode \IgnorePar\fi\EndP \HCode{</td></tr></table>}%
\IgnoreIndent\par}
\Configure{equation*}
{\ifvmode \IgnorePar\fi \EndP
\HCode{<table class="equation-star"><tr><td>}%
<.amsmath equation pre 2000.>%
\IgnorePar
}
{\ifvmode \IgnorePar\fi\EndP \HCode{</td></tr></table>}%
\IgnoreIndent\par} -_-_-
\Configure{equation}
{\ifvmode \IgnorePar\fi \EndP
\HCode{<table class="EQUATION"><tr><td>}%
<.amsmath equation jan 2000.>%
\IgnorePar
}
{\ifvmode \IgnorePar\fi\EndP
\HCode{</td><td class="eq-no">}%
}
{\ifvmode \IgnorePar\fi\EndP
\HCode{</td></tr></table>}%
\IgnoreIndent\par}
\Configure{equation*}
{\ifvmode \IgnorePar\fi \EndP
\HCode{<table class="EQUATION"><tr><td>}%
<.amsmath equation jan 2000.>%
\IgnorePar
}
{\ifvmode \IgnorePar\fi\EndP
\HCode{</td></tr></table>}%
\IgnoreIndent\par} -_-_-
\csname a:equation\string$\string$\endcsname
-_-_-
\Configure{equation$$}
{\Configure{$$}
{\IgnorePar \Configure{@math}{div}\EndP\DviMath
\HCode{\string\begin{equation}}}
{\HCode{\string\end{equation}}\EndDviMath\EndP}
{\DisplayMathtrue}%
}
-_-_-
\Configure{gather}
{}
{}
{}
{}
{}
{}%
-_-_-
\Configure{$$}{}{}{}%
\Configure{gather}
{\Configure{$$}
{\Configure{@math}{\mml:class="equation"}\IgnorePar\EndP\DviMath}
{\EndDviMath\EndP}%
{}%
\IgnorePar
}{}{}{}{}{}
-_-_-