summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/tex4ht/tex4ht-unicode.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-unicode.tex')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-unicode.tex8
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-unicode.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-unicode.tex
index e5ccf2814eb..cda543e9ab7 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-unicode.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-unicode.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-unicode.tex 1230 2022-10-31 12:01:20Z michal_h21 $
+% $Id: tex4ht-unicode.tex 1311 2023-03-27 07:25:44Z michal_h21 $
% latex tex4ht-unicode or xhlatex tex4ht-unicode "html,3,sections+"
%
% Copyright 2009-2022 TeX Users Group
@@ -356,12 +356,18 @@ applets. a candidadte for delition.
\: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|>%
\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