summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-12-28 22:41:56 +0000
committerKarl Berry <karl@freefriends.org>2019-12-28 22:41:56 +0000
commit2103e7df1093c5c12de0827bc37d32da1eaced8c (patch)
tree4aa359bf14b408c558dc0e52934e6a6fedfb03a5 /Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
parentb8826f305a9b5a17538b25d9b62c28fb6f71c5a7 (diff)
math accent fixes, tex4ht r646
git-svn-id: svn://tug.org/texlive/trunk@53251 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/mathml.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/mathml.4ht12
1 files changed, 10 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
index 2352851cbc7..99e7e841402 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
@@ -1,4 +1,4 @@
-% mathml.4ht (2019-12-16-15:21), generated from tex4ht-mathml.tex
+% mathml.4ht (2019-12-28-14:40), generated from tex4ht-mathml.tex
% Copyright 2009-2019 TeX Users Group
% Copyright 1999-2009 Eitan M. Gurari
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2019-12-16-15:21}
+\immediate\write-1{version 2019-12-28-14:40}
\exit:ifnot{Preamble,%
accents,%
@@ -824,6 +824,10 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}%
{\ifmathml \ifmtext \space \else\Tg<\a:mathml mspace
width="0.33em" \mml:class="nbsp" />\fi
\else \:nbsp\fi}
+
+% redefine macro from unicode.4ht to produce better accents
+\def\unicode:mathop#1{\PauseMathClass\HCode{<\a:mathml mo accent="true">}#1\HCode{</\a:mathml mo>}\EndPauseMathClass}
+
\:CheckOption{new-accents} \if:Option \else
\Configure{accent}\widetilde\widetilde{{}{}}
{}
@@ -2657,6 +2661,10 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}%
{\ifmathml \ifmtext \space \else\Tg<\a:mathml mspace
width="0.33em" \mml:class="nbsp" />\fi
\else \:nbsp\fi}
+
+% redefine macro from unicode.4ht to produce better accents
+\def\unicode:mathop#1{\PauseMathClass\HCode{<\a:mathml mo accent="true">}#1\HCode{</\a:mathml mo>}\EndPauseMathClass}
+
\:CheckOption{new-accents} \if:Option \else
\Configure{accent}\widetilde\widetilde{{}{}}
{}