diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht | 51 |
1 files changed, 34 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht b/Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht index a1c6f81b87b..b0ad5ec0fd8 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht @@ -1,6 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% html-mml.4ht 2007-12-02-18:44 % -% Copyright (C) 1999--2007 Eitan M. Gurari % +% html-mml.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{amsmath,% array,% @@ -149,11 +149,11 @@ tex4ht} \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@]}}} @@ -206,8 +206,19 @@ tex4ht} </\:MM td>} {</\:MM tr>} \Configure{halign} - {\EndP\halignTB{halign}} \t:HA - \R:HA\r:HA\D:HA\d:HA + {\EndP + \PushStack\Table:Stck\TableNo + \gHAdvance\Next:TableNo by 1 + \global\let\TableNo=\Next:TableNo + \halignTB{halign}} + {\HCode{</\:MT table>}\PopStack\Table:Stck\TableNo} + {\HCode{<\:MT tr \Hnewline}\halignTR\HCode{ id="TBL-\TableNo-\HRow-">}} + {\HCode{</\:MT tr>}} + {\SaveEndP + \HCode{<td \ifnum \HMultispan>1 colspan="\HMultispan"\fi}% + \halignTD \HCode{\Hnewline id="TBL-\TableNo-\HRow-\HCol">}\ShowPar\par} + {\ifvmode \IgnorePar \fi \EndP\HCode{</\:MT td>}\RecallEndP +} \:CheckOption{fonts} \if:Option \Configure{texttt} {\ifmathml \Configure{@mtext}{\mml:class="texttt" @@ -408,6 +419,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsmath} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -604,6 +616,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{plain} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -612,11 +625,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@]}}} @@ -653,7 +666,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{array} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -709,6 +721,10 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{color} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -778,11 +794,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% - - - - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{rlbabel} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -830,6 +841,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{frenchb} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1088,5 +1100,10 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + + + + + \endinput |