summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source
diff options
context:
space:
mode:
Diffstat (limited to 'support/TeX4ht/source')
-rw-r--r--support/TeX4ht/source/ChangeLog10
-rw-r--r--support/TeX4ht/source/tex4ht-mathml.tex4
2 files changed, 10 insertions, 4 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index 2c88db2ad7..f65184fe92 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,10 +1,16 @@
+2022-11-02 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-mathml.tex (mathml.4ht): added extra group for \mathcal, to
+ prevent errors in subscripts etc.
+ https://github.com/michal-h21/make4ht/issues/95
+
2022-11-01 Michal Hoftich <michal.h21@gmail.com>
- * tex4ht-4ht.tex (mathml.4ht): don't add <mdt> elements for math
+ * tex4ht-mathml.tex (mathml.4ht): don't add <mdt> elements for math
array vspace, as it can lead to wrong size of the table.
https://github.com/michal-h21/make4ht/issues/91
- * tex4ht-mathml.tex(mathml.4ht): prevent use of Unicode characters
+ * tex4ht-mathml.tex (mathml.4ht): prevent use of Unicode characters
inside \mathcal.
https://github.com/michal-h21/make4ht/issues/95
diff --git a/support/TeX4ht/source/tex4ht-mathml.tex b/support/TeX4ht/source/tex4ht-mathml.tex
index 4326b08ecc..2b498005a7 100644
--- a/support/TeX4ht/source/tex4ht-mathml.tex
+++ b/support/TeX4ht/source/tex4ht-mathml.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-mathml.tex 1233 2022-11-01 13:36:13Z michal_h21 $$
+% $Id: tex4ht-mathml.tex 1234 2022-11-02 22:09:27Z michal_h21 $$
% compile 3 times: latex tex4ht-mathltx
% or xhlatex tex4ht-mathltx "html,3,sections+"
%
@@ -4493,7 +4493,7 @@ The Script style is required using the mathvariant attribute, so it should be
rendered correctly.
\<redefine mathcal\><<<
-\def\:tempa#1{\HCode{<\a:mathml mstyle\Hnewline mathvariant="script">}#1\HCode{</\a:mathml mstyle>}}
+\def\:tempa#1{\bgroup\HCode{<\a:mathml mstyle\Hnewline mathvariant="script">}#1\HCode{</\a:mathml mstyle>}\egroup}
\HLet\mathcal\:tempa
>>>