}%
\else \HCode{
}%
\def \end:pmatrix{\HCode{}}%
\fi}
{\end:pmatrix}
\Configure{underline}
{\Tg
}{\Tg}
\newbox\tmp:bx
\Configure{overline}{\Picture+{
\a:@Picture{overline}}\setbox\tmp:bx\hbox
\bgroup\everypar{}}{\egroup\o:overline:{\box\tmp:bx}\EndPicture}
\NewConfigure{@root}{1}
\Configure{@root}{align="middle" }
\def\A:root#1\b:root#2\c:root{\o:root:#1\of{#2}\c:root}
\Configure{root}
{\Picture+{ \a:@Picture{root}}\A:root}
{}
{\EndPicture}
\Configure{mathpalette}
{\Picture+{ \a:@Picture{mathpalette}}} {\EndPicture}
\Configure{L} {\pic:sym{L}}
\Configure{l} {\pic:sym{l}}
\def\pic:sym#1{\Protect\Picture+{ \a:@Picture{#1}}\csname
o:#1:\endcsname\Protect\EndPicture}
\Configure{mathellipsis} {...}
\:CheckOption{pic-array} \if:Option
\ConfigureEnv{array}
{\IgnorePar\EndP\Tg
\Picture*{}$$}
{$$\EndPicture\Tg
}{}{}
\Css{div.pic-array {text-align:center;}}
\fi
\Configure{pmatrix} {\Picture+{ \a:@Picture{}}} {\EndPicture}
\Configure{bordermatrix} {\Picture+{ \a:@Picture{}}} {\EndPicture}
\Configure{frac}
{\Picture+{ \a:@Picture{frac}}\bgroup}
{} {}
{\egroup\EndPicture}
\Configure{sqrtsign}
{\Picture+{ \a:@Picture{sqrt}}}
{\EndPicture}
\Configure{matrix}
{\Picture+{ \a:@Picture{matrix}}} {\EndPicture}
{}{}{}{}
\Configure{[]}
{\PicDisplay$$\everymath{}\everydisplay{}}
{$$\EndPicDisplay}
\Configure{()}{\protect\PicMath$}{$\protect\EndPicMath}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{fontmath}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Configure{Longrightarrow} {\pic:sym{Longrightarrow}}
\Configure{bowtie} {\pic:sym{bowtie}}
\Configure{cong} {\pic:sym{cong}}
\Configure{ddots} {\pic:sym{ddots}}
\Configure{doteq} {\pic:sym{doteq}}
\Configure{hookleftarrow} {\pic:sym{hookleftarrow}}
\Configure{hookrightarrow} {\pic:sym{hookrightarrow}}
\Configure{longmapsto} {\pic:sym{longmapsto}}
\Configure{mapsto} {\pic:sym{mapsto}}
\Configure{models} {\pic:sym{models}}
\Configure{neq} {\pic:sym{neq}}
\Configure{notin} {\pic:sym{notin}}
\Configure{vdots} {\pic:sym{vdots}}
\Configure{angle} {\pic:sym{angle}}
\Configure{rightleftharpoons} {\pic:sym{rightleftharpoons}}
\Configure{leftrightharpoons} {\pic:sym{leftrightharpoons}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{amsmath}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Configure{overset} {\Picture+{ \a:@Picture{}}} {\EndPicture}
\Configure{underset} {\Picture+{ \a:@Picture{}}} {\EndPicture}
\Configure{xrightarrow} {\Picture+{ \a:@Picture{}}} {\EndPicture}
\Configure{xleftarrow} {\Picture+{ \a:@Picture{}}} {\EndPicture}
\Configure{genfrac}
{\Picture+{}\bgroup} {}{}{}{}{\egroup\EndPicture}
\Configure{equation}
{\Configure{gather}
{\HCode{<\tbl:XV{equation}>
}\IgnorePar}
{\end:TTT\IgnorePar\par}
{}{}
{\ifnum\HCol=2 \IgnorePar\HCode{ | }\fi}
{}
}{}{}
\Configure{equation}
{\NoHtmlEnv \Configure{gather}
{\HCode{<\tbl:XV{equation}> |
}\IgnorePar}
{\end:TTT\IgnorePar\par}
{\Configure{$}{\PicMath}{\EndPicMath}{}}
{}
{\ifnum\HCol=2 \IgnorePar\HCode{ | }\fi}
{}
}{}{}
\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}{}{}
\Configure{substack}{\Picture+{}}{\EndPicture}
\def\m:env#1{\relax\ifmmode\else\par\fi\:xhtml{\IgnorePar\EndP}%
\HCode{}}
\def\endm:env{\:xhtml{\IgnorePar\EndP}%
\HCode{ | }\IgnorePar
\ifmmode\else\par\fi}
\ConfigureEnv{eqxample}{\m:env{eqxample}}{\endm:env}{}{}
\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}{*}{}
\ConfigureEnv{multline}
{\:xhtml{\IgnorePar\EndP}%
\HCode{<\tbl:XV{multline}> |
}\Picture*{}\ExtractHLabel
}
{\EndPicture \HCode{ | }\PutHLabel\end:TTT}
{}{} {}{}
\ConfigureEnv{multline*}
{\:xhtml{\IgnorePar\EndP}%
\HCode{<\tbl:XV{multline-star}> |
}\Picture*{}%
}
{\EndPicture \end:TTT}
{}{}
\def\ExtractHLabel{%
\def\tagform@##1{{\xdef\:HLabel{\noexpand\tagform@{##1}}}}}
\def\PutHLabel{\:HLabel}
\ConfigureEnv{gather}
{\:xhtml{\IgnorePar\EndP}%
\HCode{<\tbl:XV{gather}> |
}\Picture*{}\ExtractHLabel
}
{\EndPicture \HCode{ | }\PutHLabel\end:TTT}
{}{}
\ConfigureEnv{gather*}
{\:xhtml{\IgnorePar\EndP}%
\HCode{<\tbl:XV{gather-star}> |
}\Picture*{}%
}
{\EndPicture \end:TTT}
{}{}
\Css{td.gather-star, td.gather1 {text-align:center; }}
\Configure{dotsc} {\pic:sym{dotsc}}
\Configure{dotso} {\pic:sym{dotso}}
\Configure{overset} {\Picture+{ \a:@Picture{}}} {\EndPicture}
\Configure{underset} {\Picture+{ \a:@Picture{}}} {\EndPicture}
\Configure{xrightarrow} {\Picture+{ \a:@Picture{}}} {\EndPicture}
\Configure{xleftarrow} {\Picture+{ \a:@Picture{}}} {\EndPicture}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{amstex1}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Configure{dotsc} {\pic:sym{dotsc}}
\Configure{dotso} {\pic:sym{dotso}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{amstex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Configure{frac}{\Picture+{}}{\EndPicture}
\Configure{dfrac}{\Picture+{}}{\EndPicture}
\Configure{tfrac}{\Picture+{}}{\EndPicture}
\Configure{binom}{\Picture+{}}{\EndPicture}
\Configure{dbinom}{\Picture+{}}{\EndPicture}
\Configure{tbinom}{\Picture+{}}{\EndPicture}
\Configure{boxed}{\Picture+{}}{\EndPicture}
\:CheckOption{no-matrix} \if:Option \else
\:CheckOption{pic-matrix} \if:Option
\Configure{matrix}{\m:env{matrix}}{\endm:env}
\else
\Configure{matrix}
{\HCode{}}
{\HCode{ |
}} {\HCode{
}}
{\HCode{
}} {\HCode{ | }}
\fi\fi
\:CheckOption{no-align} \if:Option \else
\:CheckOption{pic-align} \if:Option
\Configure{align}{\m:env{align}}{\endm:env}
\else
\Configure{align}
{\HCode{
}}
{\HCode{
}} {\HCode{
}}
{\HCode{
}} {\HCode{ | }}
\fi\fi
\:CheckOption{no-cases} \if:Option \else
\:CheckOption{pic-cases} \if:Option
\Configure{cases}{\m:env{cases}}{\endm:env}
\else
\Configure{cases}{\m:env{cases}}{\endm:env}
\fi\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{plain}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\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{\Picture*{}}%
\def\B:displaylines{\EndPicture}%
\fi
\A:displaylines}
{\B:displaylines} {\C:displaylines}{\D:displaylines}
\Configure{$$}{\:xhtml{\EndP}\PicDisplay}{\EndPicDisplay}
{\everymath{}\everydisplay{}}
\Configure{pmatrix}
{\ifvmode
\def\end:pmatrix{\IgnorePar\HCode{
}\end:TTT}%
\:xhtml{\IgnorePar\EndP}\HCode
{<\tbl:XV{pmatrix}>