summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-mathml.tex
diff options
context:
space:
mode:
Diffstat (limited to 'support/TeX4ht/source/tex4ht-mathml.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-mathml.tex14
1 files changed, 10 insertions, 4 deletions
diff --git a/support/TeX4ht/source/tex4ht-mathml.tex b/support/TeX4ht/source/tex4ht-mathml.tex
index e5e09fd63d..4326b08ecc 100644
--- a/support/TeX4ht/source/tex4ht-mathml.tex
+++ b/support/TeX4ht/source/tex4ht-mathml.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-mathml.tex 1231 2022-10-31 12:34:12Z michal_h21 $$
+% $Id: tex4ht-mathml.tex 1233 2022-11-01 13:36:13Z michal_h21 $$
% compile 3 times: latex tex4ht-mathltx
% or xhlatex tex4ht-mathltx "html,3,sections+"
%
@@ -629,6 +629,7 @@ We reserve code 254 (and 255) for unknown symbols.
|<math fonts utilities|>
|<set mathcal class|>
|<set mathcal symbols|>
+|<redefine mathcal|>
|<mathml plain,fontmath|>
>>>
@@ -1241,7 +1242,7 @@ space, without having them ignored, must use &nbsp; or other
{</\a:mathml mtr>}
{<\a:mathml mtr\Hnewline
\mml:class="array-vspace" style="font-size:\HBorderspace">}
- {<\a:mathml mtd\Hnewline></\a:mathml mtd>}
+ {}
{</\a:mathml mtr>}
}
@@ -4487,9 +4488,14 @@ catching of left subscripts and superscripts.
\fi
>>>
+This version of mathcal will prevent conversion of letters to Unicode Script values.
+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>}}
+\HLet\mathcal\:tempa
+>>>
\<configure mathml amssymb\><<<