summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/docbook-math.4ht
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/docbook-math.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/docbook-math.4ht63
1 files changed, 56 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/docbook-math.4ht b/Master/texmf-dist/tex/generic/tex4ht/docbook-math.4ht
index aa7dc47d836..187eb5e375d 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/docbook-math.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/docbook-math.4ht
@@ -1,6 +1,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% docbook-math.4ht 2008-08-20-13:01 %
-% Copyright (C) 2000--2008 Eitan M. Gurari %
+% docbook-math.4ht 2009-04-13-13:09 %
+% Copyright (C) 2000--2009 Eitan M. Gurari %
% %
% This work may be distributed and/or modified under the %
% conditions of the LaTeX Project Public License, either %
@@ -24,9 +24,10 @@
% gurari@cse.ohio-state.edu %
% http://www.cse.ohio-state.edu/~gurari %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2008-08-20-13:01}
+\immediate\write-1{version 2009-04-13-13:09}
-\exit:ifnot{latex,%
+\exit:ifnot{amsmath,%
+latex,%
tex4ht}
@@ -41,11 +42,10 @@ tex4ht}
\let\MathPar\empty
\Configure{PicDisplay}
{\edef\MathPar{\ifvmode par-\fi}\IgnorePar\EndP\ShowPar\endgraf
- \HCode{<equation role="\MathPar math-display">}}
- {\HCode{</equation>}\ShowPar}
+ \HCode{<equation role="\MathPar math-display"><mathphrase>}}
+ {\HCode{</mathphrase></equation>}\ShowPar}
{} {\space role="\MathPar math-display" }
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput\empty\empty\empty\empty\empty\empty
@@ -94,6 +94,55 @@ tex4ht}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ConfigureHinput{amsmath}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \Configure{equation}
+ {\ifmmode\else\par \IgnorePar\fi \EndP
+ \HCode{<blockquote role="equation">}\IgnorePar
+ }
+ {\ifvmode \IgnorePar\fi\EndP\HCode{<note role="equation"><para>}}
+ {\HCode{</para></note></blockquote>}}
+\Configure{equation*}
+ {\ifmmode\else\par \IgnorePar\fi \EndP
+ \HCode{<blockquote role="equation-star">}\IgnorePar
+ }
+ {\ifmmode\else\par \IgnorePar\fi \EndP
+ \HCode{</blockquote>}}
+\def\:tempc#1#2{%
+ \ConfigureEnv{#1}
+ {\par\IgnorePar\EndP\HCode{<equation
+ role="#1"><mathphrase>}\Picture*[]{}}
+ {\EndPicture\EndP\HCode{</mathphrase></equation>}\par}
+ {} {}}
+\: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}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+
+
+
+
+
+
+
+
+
+