summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/docbook-mml.4ht
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/docbook-mml.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/docbook-mml.4ht52
1 files changed, 42 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/docbook-mml.4ht b/Master/texmf-dist/tex/generic/tex4ht/docbook-mml.4ht
index 3a9c1caec3d..8e0bda37b2a 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/docbook-mml.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/docbook-mml.4ht
@@ -1,6 +1,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% docbook-mml.4ht 2005-02-21-19:09 %
-% Copyright (C) 2000--2005 Eitan M. Gurari %
+% docbook-mml.4ht 2006-11-15-02:45 %
+% Copyright (C) 2000--2006 Eitan M. Gurari %
% %
% This work may be distributed and/or modified under the %
% conditions of the LaTeX Project Public License, either %
@@ -24,7 +24,7 @@
% gurari@cse.ohio-state.edu %
% http://www.cse.ohio-state.edu/~gurari %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2005-02-21-19:09}
+\immediate\write-1{version 2006-11-15-02:45}
\exit:ifnot{amsart,%
amsbook,%
@@ -52,7 +52,8 @@ tex4ht}
\EndLink\DBLink[#1]{#2}{}\global\let\M:EndLink=\EndDBLink\fi
}
\let\do:M:Link=\M:Link
-\def\M:Link{\futurelet\:next\choose:M:Link}
+\def\M:Link{\Protect\p:M:Link}
+\def\p:M:Link{\futurelet\:next\choose:M:Link}
\def\choose:M:Link{\ifx -\:next \expandafter\minus:M:Link
\else\expandafter\do:M:Link\fi}
\def\minus:M:Link#1{\do:M:Link}
@@ -75,8 +76,7 @@ tex4ht}
\Configure{DviMathML}
{\HCode{<\ifx \math:mode\a:@math \else inline\fi
equation \Hnewline \expandafter\:rend \a:@math==//>}}
- {\HCode{</\ifx \math:mode\a:@math \else inline\fi equation>
-}}
+ {\HCode{</\ifx \math:mode\a:@math \else inline\fi equation>}}
\def\:rend#1=#2=#3//{\if !#1!\else role=#2\fi}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -87,6 +87,7 @@ tex4ht}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{latex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -95,10 +96,10 @@ tex4ht}
\ifmathml\else
\HCode{<note role="ref"><para role="ref">}
\fi
- \Link{#1}{#2}\Tg<!--ref: \RefArg-->\EndLink
+ \Link{#1}{#2}\expandafter\ifx \csname RefArg\endcsname\relax\else \Tg<!--ref: \RefArg-->\fi\EndLink
\ifmathml\else #3\HCode{</para></note>}\par\fi
\else
- \Link{#1}{#2}\Tg<!--ref: \RefArg-->\EndLink
+ \Link{#1}{#2}\expandafter\ifx \csname RefArg\endcsname\relax\else \Tg<!--ref: \RefArg-->\fi\EndLink
\fi
}
\Configure{newline}
@@ -108,6 +109,9 @@ tex4ht}
{\IgnorePar\EndP\HCode{<para role="equation">}}
{\HCode{</para><para role="equation-label">}}
{\IgnorePar\HCode{</para>}\ShowPar\par}
+\Configure{halignTB}
+ {\ifmathml \HCode{<\:MT table }\fi \halignTBL}
+ {\ifmathml \HCode{>}\fi}
\Configure{halignTD} {}{}
{<}{\ifmathml \HCode{ \a:mathml columnalign="left"}\else
\HCode{ align="left" }\fi}
@@ -133,7 +137,6 @@ tex4ht}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{book}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -297,6 +300,9 @@ tex4ht}
+
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{amsart}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -377,7 +383,6 @@ tex4ht}
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{amsbook}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -458,6 +463,7 @@ tex4ht}
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{amsproc}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -541,6 +547,7 @@ tex4ht}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{amsmath}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -616,6 +623,7 @@ tex4ht}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{plain}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -777,6 +785,17 @@ tex4ht}
+
+
+
+
+
+
+
+
+
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{scrbook}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -996,5 +1015,18 @@ tex4ht}
+
+
+
+
+
+
+
+
+
+
+
+
+
\endinput