summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-04-20 23:02:43 +0000
committerKarl Berry <karl@freefriends.org>2009-04-20 23:02:43 +0000
commit3ea86bef2e63ca77c8fbfe4e3b4617804de11855 (patch)
tree1e0e750a74f9564e0c70869bcb018ee010518e50 /Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht
parentee53eac199e12fb91859fd18a43dd506ff75e3a9 (diff)
tex4ht-1.0.2009_04_18_1145
git-svn-id: svn://tug.org/texlive/trunk@12767 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/html4-math.4ht97
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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%