summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-06-16 21:47:18 +0000
committerKarl Berry <karl@freefriends.org>2023-06-16 21:47:18 +0000
commit2628efed982749d457be469d72a9bdcbe4d99dbe (patch)
tree566cc18482b9f9d88fb068e0a859bc8ad0cd2087 /Master/texmf-dist/source/generic
parentcb08950f19e4ad6ce4357e55ea5fa572eba3a95c (diff)
\TeX in \text, tex4ht r1341
git-svn-id: svn://tug.org/texlive/trunk@67387 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog5
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex10
2 files changed, 10 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 956f99129d0..7375c0dc044 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,8 @@
+2023-06-16 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-mathml.tex (mathml.4ht): fixed \TeX used in \text.
+ https://github.com/michal-h21/tex4ebook/issues/108
+
2023-06-12 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-fonts-cjk.tex (
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
index 98e02e637d3..a85b327f216 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
@@ -1,8 +1,8 @@
-% $Id: tex4ht-mathml.tex 1273 2022-12-21 17:00:19Z michal_h21 $$
+% $Id: tex4ht-mathml.tex 1342 2023-06-16 21:46:57Z karl $$
% compile 3 times: latex tex4ht-mathltx
% or xhlatex tex4ht-mathltx "html,3,sections+"
%
-% Copyright 2009-2022 TeX Users Group
+% Copyright 2009-2023 TeX Users Group
% Copyright 1999-2009 Eitan M. Gurari
% Released under LPPL 1.3c+.
% See tex4ht-cpright.tex for license text.
@@ -536,7 +536,7 @@ xmlns="http://www.w3.org/1999/xhtml"
\<mathml\><<<
% mathml.4ht (|version), generated from |jobname.tex
-% Copyright 2009-2022 TeX Users Group
+% Copyright 2009-2023 TeX Users Group
% Copyright |CopyYear.1999. Eitan M. Gurari
|<TeX4ht copywrite|>
>>>
@@ -848,9 +848,9 @@ The special replaces the `x' character.
\<plain,latex mathml\><<<
\let\mml:TeX|=\TeX
-\def\TeX{\ifmathml
+\def\TeX{\ifmathml\ifmtext TeX\else
\HCode{<\a:mathml mtext
- \mml:class="TeX">TeX</\a:mathml mtext>}\else \mml:TeX\fi}
+ \mml:class="TeX">TeX</\a:mathml mtext>}\fi\else \mml:TeX\fi}
>>>
%%%%%%%%%%%%%%%%%%%%%%%%%