%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% tei-mml.4ht 2006-10-28-15:40 %
% Copyright (C) 2000--2006 Eitan M. Gurari %
% Sebastian Rahtz %
% %
% 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 2006-10-28-15:40}
\exit:ifnot{amsmath,%
latex,%
tex4ht}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{tex4ht}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Configure{VERSION}
{\HCode{\Hnewline}}
\Configure{VERSION}
{\HCode{\Hnewline}}
\Configure{DOCTYPE}
{\HCode{\Hnewline
%
\Hnewline \%TEI.dtd; \Hnewline
%
}\immediate\write16{--- file \jobname.ent ---}\HCode{%
\Hnewline \%ENT-\jobname.ent; \Hnewline
%
%
\Hnewline \%mathml.dtd;\Hnewline
%
]>\Hnewline}}
\Configure{$$}
{\Configure{@math}{display="block"}\DviMath}
{\EndDviMath{\csname HCondtrue\endcsname\noindent}}{}
\Configure{DviMath}
{\mathmltrue \NoFonts\IgnoreRule\HCode{}\a:math
\edef\sv:ignore{\if:nopar
\noexpand\IgnorePar\else \noexpand\ShowPar\fi}%
\IgnorePar}
{\HCode{}\EndIgnoreRule\EndNoFonts
\sv:ignore
\mathmlfalse}
\def\:rend#1=#2=#3//{\if !#1!\else rend=#2\fi}
\def\m:rend#1=#2=#3//{\if !#1!\else display=#2\fi}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{latex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Configure{newline}
{\ifmtext \HCode{}%
\else \HCode{}\fi}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{amsmath}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureEnv{gather}
{\ShowPar\par} {\ShowPar\par}
{}{}
\ConfigureEnv{align*}
{\ifmmode\else \IgnorePar\EndP \HCode{}\fi}
{\ifmmode\else \HCode{}\par\ShowPar\fi} {}{}
\ConfigureEnv{alignat*}
{\ifmmode\else \IgnorePar\EndP \HCode{}\fi}
{\ifmmode\else \HCode{}\par\ShowPar\fi}{}{}
\ConfigureEnv{alignat}
{\ifmmode\else \IgnorePar\EndP \HCode{}\fi}
{\ifmmode\else \HCode{}\par\ShowPar\fi}{}{}
\ConfigureEnv{align}
{\ifmmode\else \IgnorePar\EndP \HCode{}\fi}
{\ifmmode\else \HCode{}\par\ShowPar\fi}{}{}
\ConfigureEnv{eqxample}
{\ifmmode\else \IgnorePar\EndP \HCode{}\fi}
{\ifmmode\else \HCode{}\par\ShowPar\fi}{}{}
\ConfigureEnv{flalign*}
{\ifmmode\else \IgnorePar\EndP \HCode{}\fi}
{\ifmmode\else \HCode{}\par\ShowPar\fi}{}{}
\ConfigureEnv{flalign}
{\ifmmode\else \IgnorePar\EndP \HCode{}\fi}
{\ifmmode\else \HCode{}\par\ShowPar\fi}{}{}
\ConfigureEnv{gather}
{\ifmmode\else \IgnorePar\EndP \HCode{}\fi}
{\ifmmode\else \HCode{}\par\ShowPar\fi}{}{}
\ConfigureEnv{gather*}
{\ifmmode\else \IgnorePar\EndP \HCode{}\fi}
{\ifmmode\else \HCode{}\par\ShowPar\fi}{}{}
\ConfigureEnv{gathered}
{\ifmmode\else \IgnorePar\EndP \HCode{}\fi}
{\ifmmode\else \HCode{}\par\ShowPar\fi}{}{}
\ConfigureEnv{matrix}
{\ifmmode\else \IgnorePar\EndP \HCode{}\fi}
{\ifmmode\else \HCode{}\par\ShowPar\fi}{}{}
\ConfigureEnv{xalignat*}
{\ifmmode\else \IgnorePar\EndP \HCode{}\fi}
{\ifmmode\else \HCode{}\par\ShowPar\fi}{}{}
\ConfigureEnv{xalignat}
{\ifmmode\else \IgnorePar\EndP \HCode{}\fi}
{\ifmmode\else \HCode{}\par\ShowPar\fi}{}{}
\ConfigureEnv{xxalignat}
{\ifmmode\else \IgnorePar\EndP \HCode{}\fi}
{\ifmmode\else \HCode{}\par\ShowPar\fi}{}{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput