From 3ea86bef2e63ca77c8fbfe4e3b4617804de11855 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 20 Apr 2009 23:02:43 +0000 Subject: tex4ht-1.0.2009_04_18_1145 git-svn-id: svn://tug.org/texlive/trunk@12767 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/generic/tex4ht/html4-math.4ht | 97 ++++++++++++++++++---- 1 file changed, 82 insertions(+), 15 deletions(-) (limited to 'Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht') 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{}} + {\HCode{}} +\Css{span.bar-css {text-decoration:overline;}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -387,6 +394,12 @@ ushort} \Configure{mathrm}{\Protect\HCode{}} {\Protect\HCode{}} \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{}% + \else \HCode{}\fi + \HCode{}% + } +\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{}\Picture*{}% + \HCode{}\Picture*{}% } - {\EndPicture \end:TTT} + {\EndPicture \HCode{}} {}{} -\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} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -933,6 +955,9 @@ ushort} + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -991,8 +1016,6 @@ ushort} - - @@ -1037,7 +1060,6 @@ ushort} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{fleqn} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1065,6 +1087,22 @@ ushort} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{gauss} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureEnv{gmatrix} + {\IgnorePar\EndP + \Tg
\Picture*{}$$} + {$$\EndPicture\Tg
}{}{} +\Css{div.gmatrix {text-align:center;}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1215,6 +1253,36 @@ ushort} + + + + + + + + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{accents} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \Configure{accentset} + {\HCode{}} + {\HCode{}} + {\HCode{}} +\Configure{underaccent} + {\HCode{}} + {\HCode{}} + {\HCode{}} +\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 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1309,7 +1377,6 @@ ushort} - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -- cgit v1.2.3