diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht | 97 |
1 files changed, 82 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht index faa0441b33e..f6451ac213c 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht @@ -1,6 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% html4-math.4ht 2008-09-06-23:50 % -% Copyright (C) 1999--2008 Eitan M. Gurari % +% html4-math.4ht 2009-04-18-11:05 % +% Copyright (C) 1999--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-09-06-23:50} +\immediate\write-1{version 2009-04-18-11:05} -\exit:ifnot{amsfonts,% +\exit:ifnot{accents,% +amsfonts,% amsmath,% amstex,% amstex1,% @@ -34,6 +35,7 @@ array,% eplain,% fleqn,% fontmath,% +gauss,% latex,% plain,% rlbabel,% @@ -319,6 +321,11 @@ ushort} \Css{div.pmatrix {text-align:center;}} \Css{table.pmatrix {width:100\%;}} +\NewConfigure{bar-css}{2} +\Configure{bar-css} + {\HCode{<span class="bar-css">}} + {\HCode{</span>}} +\Css{span.bar-css {text-decoration:overline;}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -387,6 +394,12 @@ ushort} \Configure{mathrm}{\Protect\HCode{<span class="mathrm">}} {\Protect\HCode{</span>}} \fi +\Configure{overrightarrow} + {\leavevmode\IgnorePar} + {} +\Configure{overleftarrow} + {\leavevmode\IgnorePar} + {} \Configure{overbrace} {}{\Picture+{}}{\EndPicture} \Configure{underbrace} {}{\Picture+{}}{\EndPicture} @@ -435,10 +448,19 @@ ushort} + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsmath} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - \Configure{@cdots} {\pic:sym{@cdots}} + \Configure{tmspace} + {\ifdim \textspace>0.2em + \HCode{<span style="margin-left:\textspace" class="tmspace">}% + \else \HCode{<span style="margin-left:0.3em" class="thinspace">}\fi + \HCode{</span>}% + } +\Configure{@cdots} {\pic:sym{@cdots}} \Configure{iint} {\pic:sym{iint}} \Configure{iiint} {\pic:sym{iiint}} \Configure{iiiint} {\pic:sym{iiint}} @@ -573,14 +595,15 @@ ushort} \fi \end:TTT} {}{} +\Css{td.gather {text-align:center; }} +\Css{table.gather {width:100\%;}} \ConfigureEnv{gather*} {\:xhtml{\IgnorePar\EndP}% - \HCode{<table\Hnewline class="gather-star"><tr><td>}\Picture*{}% + \HCode{<div\Hnewline class="gather-star">}\Picture*{}% } - {\EndPicture \end:TTT} + {\EndPicture \HCode{</div>}} {}{} -\Css{td.gather-star, td.gather1 {text-align:center; }} -\Css{table.gather, table.gather-star {width:100\%;}} +\Css{div.gather-star {text-align:center;}} \Configure{overbrace} {}{\Picture+{}}{\EndPicture} \Configure{underbrace} {}{\Picture+{}}{\EndPicture} @@ -670,6 +693,7 @@ ushort} \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amstex} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -779,8 +803,6 @@ ushort} - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{plain} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -935,6 +957,9 @@ ushort} + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{array} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -994,8 +1019,6 @@ ushort} - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{eplain} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1037,7 +1060,6 @@ ushort} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{fleqn} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1065,6 +1087,22 @@ ushort} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{gauss} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureEnv{gmatrix} + {\IgnorePar\EndP + \Tg<div class="gmatix">\Picture*{}$$} + {$$\EndPicture\Tg</div>}{}{} +\Css{div.gmatrix {text-align:center;}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1225,6 +1263,36 @@ ushort} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{accents} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \Configure{accentset} + {\HCode{<span class="accentset">}} + {\HCode{<span class="accent">}} + {\HCode{</span></span>}} +\Configure{underaccent} + {\HCode{<span class="underaccent">}} + {\HCode{<span class="accent">}} + {\HCode{</span></span>}} +\Css{span.accentset span.accent{font-size:80\%; + position:relative; top:-1.7ex; left:-0.6em;}} +\Css{span.underaccent span.accent{font-size:80\%; + position:relative; top:1.6ex; left:-0.6em;}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + @@ -1311,7 +1379,6 @@ ushort} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{th4} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |