%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % html4-math.4ht 2008-08-07-16:11 % % Copyright (C) 1999--2008 Eitan M. Gurari % % % % This work may be distributed and/or modified under the % % conditions of the LaTeX Project Public License, either % % version 1.3 of this license or (at your option) any % % later version. The latest version of this license is % % in % % http://www.latex-project.org/lppl.txt % % and version 1.3 or later is part of all distributions % % of LaTeX version 2003/12/01 or later. % % % % This work has the LPPL maintenance status "maintained".% % % % This Current Maintainer of this work % % is Eitan M. Gurari. % % % % If you modify this program your changing its signature % % with a directive of the following form will be % % appreciated. % % \message{signature} % % % % gurari@cse.ohio-state.edu % % http://www.cse.ohio-state.edu/~gurari % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \immediate\write-1{version 2008-08-07-16:11} \exit:ifnot{amsfonts,% amsmath,% amstex,% amstex1,% array,% eplain,% fleqn,% fontmath,% latex,% plain,% rlbabel,% tcilatex,% tex4ht,% th4,% ushort} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{tex4ht} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \:CheckOption{no_^} \if:Option \else \:CheckOption{no_}\fi \if:Option \else \Configure{SUB} {\HCode{}}{\HCode{}} \fi \:CheckOption{no_^} \if:Option \else \:CheckOption{no^}\fi \if:Option \else \Configure{SUP} {\HCode{}}{\HCode{}} \fi \:CheckOption{no_^} \if:Option \else \:CheckOption{no_}\fi \if:Option \else \:CheckOption{no^}\fi \if:Option \else \Configure{SUBSUP} {\HCode{}}{\HCode{}}{\HCode{}} \fi \Configure{left} {\Picture+{ \a:@Picture{left}}} {\aftergroup\EndPicture } \Configure{mathchoice}{\PictureOff}{\PictureOn} \Configure{PicMath}{}{}{}{ class="math" } \Css{img.math{vertical-align:middle;}} \NewConfigure{@buildrelover}{1} \Configure{@buildrelover}{align="middle"} \NewConfigure{@doteq}{1} \Configure{@doteq}{align="middle"} \NewConfigure{@underbrace}{1} \NewConfigure{@frac}{1} \Configure{@frac}{align="middle"} \NewConfigure{@left}{1} \Configure{@left}{align="middle"} \let\MathPar\empty \Configure{PicDisplay} {\edef\MathPar{\ifvmode par-\fi}\IgnorePar\endgraf\EndP \HCode{
}} {\HCode{
}} {} {class="\MathPar math-display" } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{latex} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \Configure{[]} {\bgroup \protect\nested:math \PicDisplay $$\everymath{}\everydisplay{}} {$$\EndPicDisplay \egroup \ShowPar \par{\HCondtrue\noindent}% } \Configure{()}{\bgroup \protect\nested:math \protect\PicMath $} {$ \protect\EndPicMath \egroup} \def\nested:math{\def\[{\bgroup \def\]{$$\egroup}$$}% \def\({\bgroup \def\){$\egroup}$}% } \Configure{@TITLE}{\Configure{()}{$}{$}} \:CheckOption{pic-equation}\if:Option \Configure{equation} {\:xhtml{\ifvmode \IgnorePar\fi\EndP}% \HCode{}\IgnorePar \Configure{$$}{\PicDisplay}{\EndPicDisplay} {\everymath{}\everydisplay{}} } {\ifvmode \IgnorePar\fi\HCode{}} {\end:TTT \ShowPar \par{\HCondtrue\noindent}% } \else \Configure{equation} {\ifmmode\else\par \IgnorePar\fi \EndP \HCode{}\IgnorePar } {\ifvmode \IgnorePar\fi\EndP\HCode{}} {\end:TTT\ifmmode\else \ShowPar \par{\HCondtrue\noindent}% \fi} \fi \Css{table.equation {width:100\%;}} \Css{.equation td{text-align:center; }} \Css{td.equation { margin-top:1em; margin-bottom:1em; } } \Css{td.equation-label { width:5\%; text-align:center; }} \NewConfigure{@root}{1} \Configure{@root}{align="middle" } \:CheckOption{pic-eqnarray} \if:Option \ConfigureEnv{eqnarray} {\IgnorePar\EndP\Tg
\Picture*{}} {\EndPicture\Tg
}{}{} \Css{div.pic-eqnarray {text-align:center;}} \ConfigureEnv{eqnarray*} {\IgnorePar\EndP\Tg
\Picture*{}} {\EndPicture\Tg
}{}{} \Css{div.pic-eqnarray-star {text-align:center;}} \else \Log:Note{for pictorial eqnarray, use the command line option `pic-eqnarray'} \Configure{eqnarray}{\HCode{}} {\HCode{}} {\HCode{}} {\HCode{}} {\HCode{\ifnum \HCol=4 \fi }} {\EndP\HCode{}} \Css{td.eqnarray4 { width:5\%; white-space: normal; }} \Css{td.eqnarray2 { width:5\%; }} \Css{table.eqnarray-star, table.eqnarray {width:100\%;}} \ConfigureEnv{eqnarray} {\:xhtml{\IgnorePar\EndP}\HCode{
}} {\:xhtml{\EndP}\HCode{
}}{}{} \ConfigureEnv{eqnarray*} {\:xhtml{\IgnorePar\EndP}\HCode{
}} {\:xhtml{\EndP}\HCode{
}}{}{} \Css{div.eqnarray{text-align:center;}} \fi \:CheckOption{no-array}\if:Option \else \:CheckOption{pic-array} \if:Option \else \Log:Note{for pictorial array, use the command line option `pic-array'} \ConfigureEnv{array} {\IgnorePar\EndP\PushStack\Col:Marg\AllColMargins \HCode{
}} {\HCode{
}\PopStack\Col:Marg\AllColMargins\ShowPar}{}{} \Css{div.array {text-align:center;}} \fi \fi \Configure{stackrel}{\Picture+{ class="stackrel"}\mathrel} {\limits ^}{\EndPicture} \Configure{$$}{\:xhtml{\EndP}\PicDisplay}{\EndPicDisplay} {\everymath{}\everydisplay{}} \:CheckOption{pic-m} \if:Option \Configure{$}{\PicMath}{\EndPicMath}{} \else \Log:Note{for pictorial $...$ environments, use the command line option `pic-m' (not recommended!!)} \fi \:CheckOption{pic-m+} \if:Option \def\Alt:Math#1${\tmp:toks{$#1$}% \Picture*[\special{t4ht*=&&}% \special{t4ht*=""}% \special{t4ht*=<<}% \special{t4ht*=>>}% \HCode{\the\tmp:toks}% \special{t4ht*=}% ]{ style="text-align:middle"}$#1$\EndPicture$} \def\Alt:Display#1$${\tmp:toks{$$#1$$}% \Picture*[\special{t4ht*=&&}% \special{t4ht*=""}% \special{t4ht*=<<}% \special{t4ht*=>>}% \HCode{\the\tmp:toks}% \special{t4ht*=}% ]{}$$#1$$\EndPicture$$} \def\Alt:lMath#1\){\tmp:toks{\(#1\)}% \Picture*[\special{t4ht*=&&}% \special{t4ht*=""}% \special{t4ht*=<<}% \special{t4ht*=>>}% \HCode{\the\tmp:toks}% \special{t4ht*=}% ]{ style="text-align:middle"}$#1$\EndPicture} \def\Alt:lDisplay#1\]{\tmp:toks{\[#1\]}% \Picture*[\special{t4ht*=&&}% \special{t4ht*=""}% \special{t4ht*=<<}% \special{t4ht*=>>}% \HCode{\the\tmp:toks}% \special{t4ht*=}% ]{}$$#1$$\EndPicture} \Configure{$}{}{}{\expandafter\Alt:Math} \Configure{$$}{}{}{\expandafter\Alt:Display} % \Configure{()}{\Alt:lMath}{} % \Configure{[]}{\Alt:lDisplay}{} \else \Log:Note{for pictorial $...$ and $$...$$ environments with latex alt, use the command line option `pic-m+' (not safe!!)} \fi \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} \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{pmatrix} {\ifvmode \def\end:pmatrix{\IgnorePar\HCode{}\end:TTT}% \:xhtml{\IgnorePar\EndP}\HCode {
}% \else \HCode{}% \def \end:pmatrix{\HCode{}}% \fi} {\end:pmatrix} \Css{div.pmatrix {text-align:center;}} \Css{table.pmatrix {width:100\%;}} \Configure{mathellipsis} {\ht:special{t4ht@+\string&{35}x2026{59}}x} \Configure{hbar} {\ht:special{t4ht@+\string&{35}x210F{59}}x} \:CheckOption{pic-array} \if:Option \ConfigureEnv{array} {\IgnorePar\EndP\Tg
\Picture*{}$$} {$$\EndPicture\Tg
}{}{} \Css{div.pic-array {text-align:center;}} \else \Log:Note{for pictorial array, use the command line option `pic-array'} \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{pmatrix} {\ifvmode \def\end:pmatrix{\IgnorePar\HCode{
}\end:TTT}% \:xhtml{\IgnorePar\EndP}\HCode {
}% \else \HCode{}% \def \end:pmatrix{\HCode{}}% \fi} {\end:pmatrix} \Css{span.pmatrix img{vertical-align:middle;}} \Css{div.pmatrix {text-align:center;}} \Css{table.pmatrix {width:100\%;}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{tcilatex} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \expandafter\ifx \csname @TCItagstar\endcsname\relax \else \Configure{QATOP} {\Picture+{ style="text-align:middle"}\bgroup} {} {} {\egroup\EndPicture} \Configure{QDATOP} {\Picture+{ style="text-align:middle"}\bgroup} {} {} {\egroup\EndPicture} \Configure{QTATOP} {\Picture+{ style="text-align:middle"}\bgroup} {} {} {\egroup\EndPicture} \ifx \@msidraft\:Undef \Configure{dfrac} {\Picture+{ style="text-align:middle"}\bgroup} {} {} {\egroup\EndPicture} \Configure{tfrac} {\Picture+{ style="text-align:middle"}\bgroup} {} {} {\egroup\EndPicture} \Configure{binom} {\Picture+{ style="text-align:middle"}\bgroup} {} {} {\egroup\EndPicture} \Configure{tbinom} {\Picture+{ style="text-align:middle"}\bgroup} {} {} {\egroup\EndPicture} \Configure{dbinom} {\Picture+{ style="text-align:middle"}\bgroup} {} {} {\egroup\EndPicture} \fi \fi %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{fontmath} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \Configure{cdots} {\pic:sym{cdots}} \Css{img.cdots{vertical-align:middle;}} \:CheckOption{fonts} \if:Option \Configure{mathit}{\Protect\HCode{}} {\Protect\HCode{}} \Configure{mathbf}{\Protect\HCode{}} {\Protect\HCode{}} \Configure{mathtt}{\Protect\HCode{}} {\Protect\HCode{}} \Configure{mathsf}{\Protect\HCode{}} {\Protect\HCode{}} \Configure{mathrm}{\Protect\HCode{}} {\Protect\HCode{}} \fi \Configure{overbrace} {}{\Picture+{}}{\EndPicture} \Configure{underbrace} {}{\Picture+{}}{\EndPicture} \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} {\ht:special{t4ht@+\string&{35}x2260{59}}x} \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}} \Configure{mid} {\ht:special{t4ht@+\string&{35}x2223{59}}|} \Configure{big}{\HCode{}}{\HCode{}}{}{} \Configure{Big}{\HCode{}}{\HCode{}}{}{} \Configure{bigg}{\HCode{}}{\HCode{}}{}{} \Configure{Bigg}{\HCode{}}{\HCode{}}{}{} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsmath} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \Configure{@cdots} {\pic:sym{@cdots}} \Configure{iint} {\pic:sym{iint}} \Configure{iiint} {\pic:sym{iiint}} \Configure{iiiint} {\pic:sym{iiint}} \Configure{idotsint} {\pic:sym{tsint}} \Configure{doteq} {\pic:sym{tsint}} \Configure{equation} {\ifmmode\else\par \IgnorePar\fi \EndP \HCode{}\IgnorePar } {\ifvmode \IgnorePar\fi\EndP\HCode{}} {\end:TTT\ifmmode\else \ShowPar \par{\HCondtrue\noindent}% \fi} \Configure{equation*} {\ifmmode\else\par \IgnorePar\fi \EndP \HCode{}\IgnorePar } {\end:TTT\ifmmode\else \ShowPar \par{\HCondtrue\noindent}% \fi} \Css{.equation td{text-align:center; }} \Css{.equation-star td{text-align:center; }} \Css{table.equation-star { width:100\%; }} \Css{table.equation { width:100\%; }} \Configure{equation*} {\ifmmode\else\par \IgnorePar\fi \EndP \HCode{}\IgnorePar } {\end:TTT\ifmmode\else \ShowPar \par{\HCondtrue\noindent}% \fi} \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} \:CheckOption{pic-align} \if:Option \def\:tempc#1#2{% \ConfigureEnv{#1} {\par\IgnorePar\EndP\HCode{
}\Picture*[pict]{}} {\EndPicture\EndP\HCode{
}\par} {} {}} \Css{div.align {text-align: center;}} \else \def\:tempc#1#2{% \Configure{#1} {\IgnorePar\EndP \HCode{}} {\HCode{}} {\HCode{}} {\HCode{}} {\HCode{}} {\HCode{}}} \Css{table.align, table.alignat, table.xalignat, table.xxalignat, table.flalign {width:100\%; margin-left:5\%; white-space: nowrap;}} \Css{table.align-star, table.alignat-star, table.xalignat-star, table.flalign-star {margin-left:auto; margin-right:auto; white-space: nowrap;}} \Css{td.align-label { width:5\%; text-align:center; }} \Css{td.align-odd { text-align:right; padding-right:0.3em;}} \Css{td.align-even { text-align:left; padding-right:0.6em;}} \fi \: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} \Configure{split} {\HCode{}} {\ifvmode \IgnorePar\fi \HCode{}} {\HCode{}} {} {\HCode{}} {} \Configure{smallmatrix} {\:xhtml{\IgnorePar\EndP}% \HCode{}} {\HCode{}} {\HCode{}} {\HCode{}} {\HCode{}} {\HCode{}} \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{}\Picture*{}\ExtractHLabel } {\EndPicture \ifx \:HLabel\:Undef \else \HCode{}\PutHLabel \global\let\:HLabel\:Undef \fi \end:TTT} {}{} {}{} \ConfigureEnv{multline*} {\:xhtml{\IgnorePar\EndP}% \HCode{}\Picture*{}% } {\EndPicture \end:TTT} {}{} \def\ExtractHLabel{% \def\tagform@##1{{% \ifx \:HLabel\:UnDef \let\:HLabel=\empty \fi \def\tagform@####1{\expandafter\let\csname ####1\endcsname\def}% \:HLabel \expandafter\ifx\csname ##1\endcsname\relax \let\tagform@=\relax \let\HCode=\relax \edef\:temp{\noexpand\append:def\noexpand \:HLabel{\HCode{
}\tagform@{##1}\HCode{
}}}% \:temp \global\let\:HLabel=\:HLabel \fi }}} \def\PutHLabel{\:HLabel} \Css{table.multline, table.multline-star {width:100\%;}} \ConfigureEnv{gather} {\:xhtml{\IgnorePar\EndP}% \HCode{}\Picture*{}\ExtractHLabel } {\EndPicture \ifx \:HLabel\:Undef \else \HCode{}\PutHLabel \global\let\:HLabel\:Undef \fi \end:TTT} {}{} \ConfigureEnv{gather*} {\:xhtml{\IgnorePar\EndP}% \HCode{}\Picture*{}% } {\EndPicture \end:TTT} {}{} \Css{td.gather-star, td.gather1 {text-align:center; }} \Css{table.gather, table.gather-star {width:100\%;}} \Configure{overbrace} {}{\Picture+{}}{\EndPicture} \Configure{underbrace} {}{\Picture+{}}{\EndPicture} \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{intertext} {\IgnorePar \ifinalign@ \HCode{\ifnum \HRow>0 \fi}% \else \ifingather@ \HCode{}% \fi\fi } {\ifvmode \IgnorePar \fi \EndP\ifinalign@ \HCode{\ifnum \HRow>0 \fi}% \else \ifingather@ \HCode{}% \fi\fi } \Configure{@begin} {split} {\ifx \EndPicture \:UnDef \else \let\tagform@=\:gobble \fi} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsfonts} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \:CheckOption{fonts} \if:Option \Configure{mathbb}{\Protect\HCode{}} {\Protect\HCode{}} \Configure{mathfrak}{\Protect\HCode{}} {\Protect\HCode{}} \fi %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amstex1} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \Configure{overbrace} {}{\Picture+{}}{\EndPicture} \Configure{underbrace} {}{\Picture+{}}{\EndPicture} \ConfigureEnv{equation*}{\m:env{equation*}}{\endm:env}{}{} \ConfigureEnv{equation}{\m:env{equation}}{\endm:env}{}{} \Configure{eqn}{\HCode{}} \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{xalignat}{\m:env{xalignat}}{\endm:env}{}{} \ConfigureEnv{xxalignat}{\m:env{xxalignat}}{\endm:env}{}{} \ConfigureEnv{xalignat*}{\m:env{xalignat*}}{\endm:env}{}{} \ConfigureEnv{aligned}{\m:env{aligned}}{\endm:env}{}{} \ConfigureEnv{alignedat}{\m:env{alignedat}}{\endm:env}{}{} \ConfigureEnv{gather}{\m:env{gather}}{\endm:env}{}{} \ConfigureEnv{gather*}{\m:env{gather*}}{\endm:env}{}{} \ConfigureEnv{gathered}{\m:env{gathered}}{\endm:env}{}{} \ConfigureEnv{matrix}{\m:env{matrix}}{\endm:env}{}{} \ConfigureEnv{multline}{\m:env{multline}}{\endm:env}{}{} \ConfigureEnv{multline*}{\m:env{multline*}}{\endm:env}{}{} \ConfigureEnv{pmatrix}{\m:env{pmatrix}}{\endm:env}{}{} \ConfigureEnv{bmatrix}{\m:env{bmatrix}}{\endm:env}{}{} \ConfigureEnv{vmatrix}{\m:env{vmatrix}}{\endm:env}{}{} \ConfigureEnv{Vmatrix}{\m:env{Vmatrix}}{\endm:env}{}{} \Configure{gather}{\Picture*{}}{\EndPicture} \Configure{dotsc} {\pic:sym{dotsc}} \Configure{dotso} {\pic:sym{dotso}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amstex} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \Configure{pmatrix} {\bgroup\m:env{pmatrix}} {\endm:env\egroup} \Configure{smallmatrix} {\bgroup\m:env{smallmatrix}\Picture+{}} {\EndPicture\endm:env\egroup} {}{} {}{} \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} {\bgroup\m:env{aligned}\Picture+{}} {\EndPicture\endm:env\egroup} {}{}{}{} \Configure{xalignat} {\bgroup\m:env{xalignat}} {\endm:env\egroup} {}{}{}{} \Configure{xxalignat} {\bgroup\m:env{xxalignat}} {\endm:env\egroup} {}{}{}{} \Configure{multline} {\bgroup\m:env{multline}\Picture+{}\vtop\bgroup$$} {$$\egroup\EndPicture\endm:env\egroup} {}{} \Configure{alignedat} {\bgroup\m:env{alignedat}\Picture+{}} {\EndPicture\endm:env\egroup} {}{}{}{} \Configure{gathered} {\bgroup\m:env{gathered}\Picture+{}} {\EndPicture\endm:env\egroup} {}{}{}{} \Configure{linebreak}{\HCode{
}} \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} \Configure{matrix} {\HCode{}} {\HCode{}} {\HCode{}} {\HCode{}} {\HCode{}} {\HCode{}} \Configure{cases}{\m:env{cases}}{\endm:env} \:CheckOption{pic-matrix} \if:Option \Configure{matrix} {\m:env{matrix}\Picture+{}} {\EndPicture\endm:env} {}{} {}{} \else \Log:Note{for pictorial matrix, use the command line option `pic-matrix'} \fi \:CheckOption{pic-align} \if:Option \Configure{align} {\m:env{align}\Picture+{}} \EndPicture{\endm:env} {} {} {} {} \else \Log:Note{for pictorial align, use the command line option `pic-align'} \Configure{align} {\HCode{}} {\HCode{}} {\HCode{}} {\HCode{}} {\HCode{}} {\HCode{}} \fi \:CheckOption{pic-cases} \if:Option \Configure{cases} {\m:env{cases}\Picture+{}}{\EndPicture\endm:env} \else \Log:Note{for pictorial cases, use the command line option `pic-cases'} \fi \Configure{alignat} {\bgroup\m:env{alignat}\Picture+{}} {\EndPicture\endm:env \egroup} {}{} {}{} \Configure{gather} {\bgroup\m:env{gather}\Picture+{}} {\EndPicture\endm:env\egroup} {}{} {}{} \Configure{frac}{\Picture+{ style="text-align:middle"}}{\EndPicture} \Configure{dfrac}{\Picture+{ style="text-align:middle"}}{\EndPicture} \Configure{tfrac}{\Picture+{ style="text-align:middle"}}{\EndPicture} \Configure{binom}{\Picture+{ style="text-align:middle"}}{\EndPicture} \Configure{dbinom}{\Picture+{ style="text-align:middle"}}{\EndPicture} \Configure{tbinom}{\Picture+{ style="text-align:middle"}}{\EndPicture} \Configure{boxed}{\Picture+{ style="text-align:middle"}}{\EndPicture} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{plain} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \Configure{cdots} {\pic:sym{cdots}} \Css{img.cdots{vertical-align:middle;}} \Configure{$$}{\:xhtml{\EndP}\PicDisplay}{\EndPicDisplay} {\everymath{}\everydisplay{}} \:CheckOption{pic-m} \if:Option \Configure{$}{\PicMath}{\EndPicMath}{} \else \Log:Note{for pictorial $...$ environments, use the command line option `pic-m' (not recommended!!)} \fi \:CheckOption{pic-m+} \if:Option \def\Alt:Math#1${\tmp:toks{$#1$}% \Picture*[\special{t4ht*=&&}% \special{t4ht*=""}% \special{t4ht*=<<}% \special{t4ht*=>>}% \HCode{\the\tmp:toks}% \special{t4ht*=}% ]{ style="text-align:middle"}$#1$\EndPicture$} \def\Alt:Display#1$${\tmp:toks{$$#1$$}% \Picture*[\special{t4ht*=&&}% \special{t4ht*=""}% \special{t4ht*=<<}% \special{t4ht*=>>}% \HCode{\the\tmp:toks}% \special{t4ht*=}% ]{}$$#1$$\EndPicture$$} \def\Alt:lMath#1\){\tmp:toks{\(#1\)}% \Picture*[\special{t4ht*=&&}% \special{t4ht*=""}% \special{t4ht*=<<}% \special{t4ht*=>>}% \HCode{\the\tmp:toks}% \special{t4ht*=}% ]{ style="text-align:middle"}$#1$\EndPicture} \def\Alt:lDisplay#1\]{\tmp:toks{\[#1\]}% \Picture*[\special{t4ht*=&&}% \special{t4ht*=""}% \special{t4ht*=<<}% \special{t4ht*=>>}% \HCode{\the\tmp:toks}% \special{t4ht*=}% ]{}$$#1$$\EndPicture} \Configure{$}{}{}{\expandafter\Alt:Math} \Configure{$$}{}{}{\expandafter\Alt:Display} % \Configure{()}{\Alt:lMath}{} % \Configure{[]}{\Alt:lDisplay}{} \else \Log:Note{for pictorial $...$ and $$...$$ environments with latex alt, use the command line option `pic-m+' (not safe!!)} \fi \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} \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{pmatrix} {\ifvmode \def\end:pmatrix{\IgnorePar\HCode{
}\end:TTT}% \:xhtml{\IgnorePar\EndP}\HCode {
}% \else \HCode{}% \def \end:pmatrix{\HCode{}}% \fi} {\end:pmatrix} \Css{div.pmatrix {text-align:center;}} \Css{table.pmatrix {width:100\%;}} \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} {\ht:special{t4ht@+\string&{35}x2260{59}}x} \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}} \Configure{mid} {\ht:special{t4ht@+\string&{35}x2223{59}}|} \Configure{ldots} {\ht:special{t4ht@+\string&{35}x2026{59}}x} \NewConfigure{@root}{1} \Configure{@root}{align="middle" } \Configure{sqrt} {\Picture+{ \a:@Picture{sqrt}}} {\EndPicture} \Configure{overbrace} {}{\Picture+{}}{\EndPicture} \Configure{underbrace} {}{\Picture+{}}{\EndPicture} \Configure{@underbrace}{align="middle"} \Configure{big}{\HCode{}}{\HCode{}}{}{} \Configure{Big}{\HCode{}}{\HCode{}}{}{} \Configure{bigg}{\HCode{}}{\HCode{}}{}{} \Configure{Bigg}{\HCode{}}{\HCode{}}{}{} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{array} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \:CheckOption{pic-array} \if:Option \else \Log:Note{for pictorial array, use the command line option `pic-array'} \ConfigureEnv{array} {\IgnorePar\EndP\PushStack\Col:Marg\AllColMargins \HCode{
}} {\HCode{
}\PopStack\Col:Marg\AllColMargins\ShowPar}{}{} \Css{div.array {text-align:center;}} \fi %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{eplain} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \Configure{PicDisplay} {\edef\MathPar{\ifvmode par-\fi}\IgnorePar\endgraf\EndP \HCode{
}} {\HCode{
}} {} {class="\MathPar math-display" } \Css{div.lsftdisplay {text-align:left;}} \Css{div.centereddisplay {text-align:center;}} \Configure{contents} {\ifvmode \IgnorePar\fi \EndP \HCode{
}} {\HCode{
}} \Configure{tocchapterentry} {\HCode{}} {\HCode{}} {\HCode{}} \Configure{tocsectionentry} {\HCode{}} {\HCode{}} {\HCode{}} \Configure{tocsubsectionentry} {\HCode{}} {\HCode{}} {\HCode{}} \Css{span.tocchapterentry{width:30em}} \Css{span.tocsectionentry{width:30em; padding-left:1.5em}} \Css{span.tocsectionentry{width:30em; padding-left:3em}} \Css{span.toc-num{width:6em; padding-left:2em}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{fleqn} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \Configure{equation} {\:xhtml{\IgnorePar\EndP}% \HCode{}\IgnorePar \Configure{$}{\PicMath}{\EndPicMath}{}% } {\IgnorePar\HCode{}} {\end:TTT\IgnorePar\par} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{rlbabel} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \:CheckOption{pic-m} \if:Option \else \Configure{$} {\HCode{}} {\HCode{}}{} \fi \Configure{[]} {\bgroup \protect\nested:math \PicDisplay $$\everymath{}\everydisplay{}} {$$\EndPicDisplay \egroup \ShowPar \par{\HCondtrue\noindent}% \if@rl \beginL\fi \beginR } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{ushort} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \Configure{ushort} {\HCode{}\hbox\bgroup \:gobble} {\egroup \HCode{}} \Configure{ushortw} {\HCode{}\hbox\bgroup \:gobble} {\egroup \HCode{}} \Configure{ushortd} {\HCode{}\hbox\bgroup \:gobble} {\egroup \HCode{}} \Configure{ushortdw} {\HCode{}\hbox\bgroup \:gobble} {\egroup \HCode{}} \Configure{ushortdline} {\HCode{}\hbox\bgroup \:gobble} {\egroup \HCode{}} \Css{.underline-d{ border-bottom: 3px double black; margin-bottom:1pt; }} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{th4} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \:CheckOption{th4}\if:Option \Configure{[]} {\PicDisplay $$\everymath{}\everydisplay{}} {$$\EndPicDisplay \ShowPar \par{\HCondtrue\noindent}% } \Configure{()}{\PicMath$}{$\EndPicMath} \fi %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \endinput