texlive[53251] Master/texmf-dist/tex/generic/tex4ht: math accent

commits+karl at tug.org commits+karl at tug.org
Sat Dec 28 23:41:57 CET 2019


Revision: 53251
          http://tug.org/svn/texlive?view=revision&revision=53251
Author:   karl
Date:     2019-12-28 23:41:56 +0100 (Sat, 28 Dec 2019)
Log Message:
-----------
math accent fixes, tex4ht r646

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=646

Modified Paths:
--------------
    trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/unicode.4ht

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2019-12-28 22:35:53 UTC (rev 53250)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2019-12-28 22:41:56 UTC (rev 53251)
@@ -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 @@
    {\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 @@
    {\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{{}{}}
   {}

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/unicode.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/unicode.4ht	2019-12-28 22:35:53 UTC (rev 53250)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/unicode.4ht	2019-12-28 22:41:56 UTC (rev 53251)
@@ -1,4 +1,4 @@
-% unicode.4ht (2019-06-06-15:03), generated from tex4ht-unicode.tex
+% unicode.4ht (2019-12-28-14:40), generated from tex4ht-unicode.tex
 % Copyright 2009-2019 TeX Users Group
 % Copyright 1998-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-06-06-15:03}
+\immediate\write-1{version 2019-12-28-14:40}
 
 \exit:ifnot{8859-6,% 
 SIunits,% 
@@ -179,6 +179,10 @@
 \def\Uuml{00A8}
 \def\Uuuml{00FC}
 \def\Uyuml{00FF}
+
+% This will be redefined in mathml.4ht to produce a better markup
+\def\unicode:mathop#1{\mathop{#1}}
+
 \:CheckOption{new-accents}     \if:Option \else
    \expand:after{\Configure{accent}}\csname OT1\string\`\endcsname
     \grave{A{00C0}E{00C8}I{00CC}N{01F8}O{00D2}U{00D9}W{1E80}%
@@ -317,25 +321,25 @@
 R{1E5E}r{1E5F}T{1E6E}t{1E6F}Z{1E94}z{1E95}h{1E96}%
 {}{}}
       {\a:accents{}{#1}}     {\b:accents{b}{#1}{#2}}
-   \def\:vec:over{\ifmmode\expandafter\mathop\fi{\x:unicode{2192}}}
-   \def\:grave:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0300}}}
-   \def\:acute:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0301}}}
-   \def\:hat:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0302}}}
-   \def\:widehat:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0302}}}
-   \def\:tilde:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0303}}}
-   \def\:widetilde:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0303}}}
-   \def\:bar:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0304}}}
-   \def\:breve:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0306}}}
-   \def\:dot:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0307}}}
-   \def\:ddot:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0308}}}
-   \def\:uml:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0308}}}
-   \def\:ring:over{\ifmmode\expandafter\mathop\fi{\x:unicode{030A}}}
-   \def\:Huml:over{\ifmmode\expandafter\mathop\fi{\x:unicode{030B}}}
-   \def\:check:over{\ifmmode\expandafter\mathop\fi{\x:unicode{030C}}}
-   \def\:d:under{\ifmmode\expandafter\mathop\fi{\x:unicode{0323}}}
-   \def\:cedil:under{\ifmmode\expandafter\mathop\fi{\x:unicode{0327}}}
-   \def\:b:under{\ifmmode\expandafter\mathop\fi{\x:unicode{0331}}}
-   \def\:udot:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0361}}}
+   \def\:vec:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{2192}}}
+   \def\:grave:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0300}}}
+   \def\:acute:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0301}}}
+   \def\:hat:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0302}}}
+   \def\:widehat:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0302}}}
+   \def\:tilde:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0303}}}
+   \def\:widetilde:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0303}}}
+   \def\:bar:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0304}}}
+   \def\:breve:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0306}}}
+   \def\:dot:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0307}}}
+   \def\:ddot:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0308}}}
+   \def\:uml:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0308}}}
+   \def\:ring:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{030A}}}
+   \def\:Huml:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{030B}}}
+   \def\:check:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{030C}}}
+   \def\:d:under{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0323}}}
+   \def\:cedil:under{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0327}}}
+   \def\:b:under{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0331}}}
+   \def\:udot:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0361}}}
 \fi
 
 \Configure{L}                     {\x:unicode{0141}}
@@ -558,7 +562,6 @@
 
 
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{amsart}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -832,6 +835,10 @@
 \def\Uuml{00A8}
 \def\Uuuml{00FC}
 \def\Uyuml{00FF}
+
+% This will be redefined in mathml.4ht to produce a better markup
+\def\unicode:mathop#1{\mathop{#1}}
+
 \:CheckOption{new-accents}     \if:Option \else
    \expand:after{\Configure{accent}}\csname OT1\string\`\endcsname
     \grave{A{00C0}E{00C8}I{00CC}N{01F8}O{00D2}U{00D9}W{1E80}%
@@ -970,25 +977,25 @@
 R{1E5E}r{1E5F}T{1E6E}t{1E6F}Z{1E94}z{1E95}h{1E96}%
 {}{}}
       {\a:accents{}{#1}}     {\b:accents{b}{#1}{#2}}
-   \def\:vec:over{\ifmmode\expandafter\mathop\fi{\x:unicode{2192}}}
-   \def\:grave:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0300}}}
-   \def\:acute:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0301}}}
-   \def\:hat:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0302}}}
-   \def\:widehat:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0302}}}
-   \def\:tilde:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0303}}}
-   \def\:widetilde:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0303}}}
-   \def\:bar:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0304}}}
-   \def\:breve:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0306}}}
-   \def\:dot:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0307}}}
-   \def\:ddot:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0308}}}
-   \def\:uml:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0308}}}
-   \def\:ring:over{\ifmmode\expandafter\mathop\fi{\x:unicode{030A}}}
-   \def\:Huml:over{\ifmmode\expandafter\mathop\fi{\x:unicode{030B}}}
-   \def\:check:over{\ifmmode\expandafter\mathop\fi{\x:unicode{030C}}}
-   \def\:d:under{\ifmmode\expandafter\mathop\fi{\x:unicode{0323}}}
-   \def\:cedil:under{\ifmmode\expandafter\mathop\fi{\x:unicode{0327}}}
-   \def\:b:under{\ifmmode\expandafter\mathop\fi{\x:unicode{0331}}}
-   \def\:udot:over{\ifmmode\expandafter\mathop\fi{\x:unicode{0361}}}
+   \def\:vec:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{2192}}}
+   \def\:grave:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0300}}}
+   \def\:acute:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0301}}}
+   \def\:hat:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0302}}}
+   \def\:widehat:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0302}}}
+   \def\:tilde:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0303}}}
+   \def\:widetilde:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0303}}}
+   \def\:bar:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0304}}}
+   \def\:breve:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0306}}}
+   \def\:dot:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0307}}}
+   \def\:ddot:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0308}}}
+   \def\:uml:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0308}}}
+   \def\:ring:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{030A}}}
+   \def\:Huml:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{030B}}}
+   \def\:check:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{030C}}}
+   \def\:d:under{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0323}}}
+   \def\:cedil:under{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0327}}}
+   \def\:b:under{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0331}}}
+   \def\:udot:over{\ifmmode\expandafter\unicode:mathop\fi{\x:unicode{0361}}}
 \fi
 
 \Configure{L}                     {\x:unicode{0141}}
@@ -1304,6 +1311,12 @@
 
 
 
+
+
+
+
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{eurosym}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1326,7 +1339,6 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{sistyle}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1414,6 +1426,8 @@
 
 
 
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{cp850}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1434,6 +1448,7 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{cp862}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1444,7 +1459,6 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{cp1250}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1475,6 +1489,7 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{cp437de}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1485,7 +1500,6 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{cp865}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1938,6 +1952,7 @@
 
 
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{croatian}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -2074,7 +2089,6 @@
 
 
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{greek}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -2117,5 +2131,7 @@
 
 
 
+
+
 \endinput
 



More information about the tex-live-commits mailing list