diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/mathml.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/mathml.4ht | 79 |
1 files changed, 53 insertions, 26 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht index 28123c95bb0..2c47ddebf22 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht @@ -1,6 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% mathml.4ht 2007-12-02-18:44 % -% Copyright (C) 1999--2007 Eitan M. Gurari % +% mathml.4ht 2008-06-17-14:06 % +% 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 % @@ -24,7 +24,7 @@ % gurari@cse.ohio-state.edu % % http://www.cse.ohio-state.edu/~gurari % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2007-12-02-18:44} +\immediate\write-1{version 2008-06-17-14:06} \exit:ifnot{Preamble,% amsbsy,% @@ -46,6 +46,7 @@ mathtools,% plain,% rlbabel,% sistyle,% +subeqnarray,% tex4ht,% ushort,% vanilla} @@ -152,9 +153,11 @@ vanilla} \def\t:HA{\HCode{</\:MT table>}} \def\R:HA{\HCode{<\:MT tr \Hnewline style="vertical-align:baseline">}} \def\r:HA{\HCode{</\:MT tr>}} -\def\D:HA{\HCode{<\:MT td \ifnum \HMultispan>1 colspan="\HMultispan"\fi}% +\def\D:HA{\SaveEndP +\HCode{<\:MT td \ifnum \HMultispan>1 colspan="\HMultispan"\fi}% \halignTD \HCode{\Hnewline>}} -\def\d:HA{\HCode{</\:MT td>}} +\def\d:HA{\HCode{</\:MT td>}\RecallEndP +} \Configure{SUB} {\Send{BACK} @@ -621,13 +624,16 @@ vanilla} \let\A:fbox=\a:fbox \let\B:fbox=\b:fbox -\let\OLDf:box=\fbox -\def\fbox{\relax\ifmmode +\let\OLDn:fbox:\n:fbox: +\def\OLDf:box{\ifx \EndPicture \:UnDef + \expandafter \OLDn:fbox: \else\expandafter \o:fbox: \fi} +\def\:temp{\relax\ifmmode \Configure{fbox}{\leavevmode\Configure{HtmlPar}{}{}{}{}\IgnoreRule \AA:text{fbox}}{\BB:text\EndIgnoreRule}\else \Configure{fbox}{\leavevmode \IgnoreRule\A:fbox}{\B:fbox\EndIgnoreRule}\fi \OLDf:box} +\HLet\fbox\:temp \let\A:mbox\a:mbox \let\B:mbox\b:mbox \let\OLD:mbox\mbox @@ -768,11 +774,11 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \Configure{accents} {\ifmmode \expandafter\mathord\fi {\leavevmode -\if !#1!\ht:special{t4ht@+&{35}x#2;}% +\if !#1!\ht:special{t4ht@+\string&{35}x#2;}% \else \expandafter \ifx\csname U#2#1\endcsname\relax - \ht:special{t4ht@+&{35}x#2;}% + \ht:special{t4ht@+\string&{35}x#2;}% \else - \ht:special{t4ht@+&{35}x\csname U#2#1\endcsname;}% + \ht:special{t4ht@+\string&{35}x\csname U#2#1\endcsname;}% \fi \fi x% % \ht:special{t4ht@[}\if!#1!x\else#2\fi\ht:special{t4ht@]}}} @@ -1080,11 +1086,11 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \Configure{accents} {\ifmmode \expandafter\mathord\fi {\leavevmode -\if !#1!\ht:special{t4ht@+&{35}x#2;}% +\if !#1!\ht:special{t4ht@+\string&{35}x#2;}% \else \expandafter \ifx\csname U#2#1\endcsname\relax - \ht:special{t4ht@+&{35}x#2;}% + \ht:special{t4ht@+\string&{35}x#2;}% \else - \ht:special{t4ht@+&{35}x\csname U#2#1\endcsname;}% + \ht:special{t4ht@+\string&{35}x\csname U#2#1\endcsname;}% \fi \fi x% % \ht:special{t4ht@[}\if!#1!x\else#2\fi @@ -1612,6 +1618,8 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsbsy} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1624,7 +1632,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsmath} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1968,6 +1975,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsfonts} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1989,7 +1997,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amstex1} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2216,6 +2223,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{plain} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2538,11 +2546,11 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \Configure{accents} {\ifmmode \expandafter\mathord\fi {\leavevmode -\if !#1!\ht:special{t4ht@+&{35}x#2;}% +\if !#1!\ht:special{t4ht@+\string&{35}x#2;}% \else \expandafter \ifx\csname U#2#1\endcsname\relax - \ht:special{t4ht@+&{35}x#2;}% + \ht:special{t4ht@+\string&{35}x#2;}% \else - \ht:special{t4ht@+&{35}x\csname U#2#1\endcsname;}% + \ht:special{t4ht@+\string&{35}x\csname U#2#1\endcsname;}% \fi \fi x% % \ht:special{t4ht@[}\if!#1!x\else#2\fi\ht:special{t4ht@]}}} @@ -2850,11 +2858,11 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \Configure{accents} {\ifmmode \expandafter\mathord\fi {\leavevmode -\if !#1!\ht:special{t4ht@+&{35}x#2;}% +\if !#1!\ht:special{t4ht@+\string&{35}x#2;}% \else \expandafter \ifx\csname U#2#1\endcsname\relax - \ht:special{t4ht@+&{35}x#2;}% + \ht:special{t4ht@+\string&{35}x#2;}% \else - \ht:special{t4ht@+&{35}x\csname U#2#1\endcsname;}% + \ht:special{t4ht@+\string&{35}x\csname U#2#1\endcsname;}% \fi \fi x% % \ht:special{t4ht@[}\if!#1!x\else#2\fi @@ -3087,7 +3095,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{array} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3136,6 +3143,9 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amscd} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3188,7 +3198,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{vanilla} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3222,7 +3231,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amssymb} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3415,8 +3423,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{rlbabel} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3454,6 +3460,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{dcolumn} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3512,6 +3519,9 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{mathtools} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3636,6 +3646,21 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{subeqnarray} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \Configure{subeqnarray} + {\HCode{<mtable class="subeqnarray">}} + {\HCode{</mtable>}} + {\HCode{<mtr class="subeqnarray">}} + {\HCode{</mtr>}} + {\HCode{<mtd class="subeqnarray">}} + {\HCode{</mtd>}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3819,5 +3844,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + + \endinput |