[tex4ht-commits] [SCM] tex4ht updated: r1619 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Sun Jan 5 21:23:12 CET 2025


Author: michal_h21
Date: 2025-01-05 20:23:12 +0000 (Sun, 05 Jan 2025)
New Revision: 1619

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathml.tex
Log:
don't configure tilde in mathml

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2025-01-05 16:19:50 UTC (rev 1618)
+++ trunk/lit/ChangeLog	2025-01-05 20:23:12 UTC (rev 1619)
@@ -1,3 +1,10 @@
+2025-01-05  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathml.tex (mathml.4ht): don't configure tilde accents in
+	the MathML output, it removes support for Unicode characters with
+	tilde.
+	https://github.com/michal-h21/make4ht/issues/163
+
 2024-12-11  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-unicode.tex (unicode.4ht): fixed suppport for umlauts and

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2025-01-05 16:19:50 UTC (rev 1618)
+++ trunk/lit/tex4ht-mathml.tex	2025-01-05 20:23:12 UTC (rev 1619)
@@ -2,7 +2,7 @@
 % compile 3 times: latex tex4ht-mathltx
 %           or   xhlatex tex4ht-mathltx "html,3,sections+"
 %
-% Copyright 2009-2024 TeX Users Group
+% Copyright 2009-2025 TeX Users Group
 % Copyright 1999-2009 Eitan M. Gurari
 % Released under LPPL 1.3c+.
 % See tex4ht-cpright.tex for license text.
@@ -826,10 +826,12 @@
   {}
   {\HCode{<\a:mathml mover\Hnewline accent="true"><\a:mathml mrow\Hnewline>}#2\HCode{</\a:mathml mrow>}%
     \:widetilde:over  \HCode{</\a:mathml mover>}}
-  \Configure{accent}\tilde\tilde{{}{}} 
-  {}
-  {\HCode{<\a:mathml mover\Hnewline accent="true"><\a:mathml mrow\Hnewline>}#2\HCode{</\a:mathml mrow>}%
-    \:tilde:over  \HCode{</\a:mathml mover>}}
+  % this configuration caused problems with text accents. 
+  % we can use Unicode characters with tilde accents instead even in MathML
+  % \Configure{accent}\tilde\tilde{{}{}} 
+  % {}
+  % {\HCode{<\a:mathml mover\Hnewline accent="true"><\a:mathml mrow\Hnewline>}#2\HCode{</\a:mathml mrow>}%
+  %   \:tilde:over  \HCode{</\a:mathml mover>}}
   \Configure{accent}\widehat\widehat{{}{}} 
   {}
   {\HCode{<\a:mathml mover\Hnewline accent="true"><\a:mathml mrow\Hnewline>}#2\HCode{</\a:mathml mrow>}%



More information about the tex4ht-commits mailing list.