[tex4ht-commits] [SCM] tex4ht updated: r1311 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Mon Mar 27 09:25:44 CEST 2023
Author: michal_h21
Date: 2023-03-27 07:25:44 +0000 (Mon, 27 Mar 2023)
New Revision: 1311
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-unicode.tex
Log:
disabled redefinition of accents
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2023-03-24 10:46:41 UTC (rev 1310)
+++ trunk/lit/ChangeLog 2023-03-27 07:25:44 UTC (rev 1311)
@@ -1,3 +1,9 @@
+2023-03-27 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-unicode.tex (unicode.4ht): disabled redefinition of
+ accents, in order to get pictured accents in default HTML math
+ output.
+
2023-03-24 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-fonts-noncjk.tex (
Modified: trunk/lit/tex4ht-unicode.tex
===================================================================
--- trunk/lit/tex4ht-unicode.tex 2023-03-24 10:46:41 UTC (rev 1310)
+++ trunk/lit/tex4ht-unicode.tex 2023-03-27 07:25:44 UTC (rev 1311)
@@ -356,6 +356,11 @@
\:CheckOption{new-accents} \if:Option \else
|<old unicode accents|>
\ifx \mathml:on\:UnDef
+% this configuration causes wrong rendering of accents in the default TeX4ht
+% math output - accented text, like vectors is converted without accents
+% we will rather use the default configuration, which produces pictures
+% in the text mode, accents seems to work fine with or without this configuration
+ \iffalse % we use \iffalse, because simple commenting off didn't work
\Configure{accents}
{\ifmmode \expandafter\mathord\fi
{|<temp hcode accents|>%
@@ -362,6 +367,7 @@
\ht:special{t4ht@[}x\ht:special{t4ht@]}}}
{\ifmmode \expandafter\mathord\fi
{\HCode{<span class='accent#1'>}#3\HCode{</span>}}}
+ \fi
\else
\:warning{unicode.4ht loaded after mathml.4ht}
\fi
More information about the tex4ht-commits
mailing list.