summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-11-03 03:05:14 +0000
committerNorbert Preining <norbert@preining.info>2022-11-03 03:05:14 +0000
commitc3c9975778ff2848e51f6debf733abe8ca930bd3 (patch)
tree034fcccacf40343842462b161df1764d3a7a41af /support
parent2281af8ba8fd52341e706f3979712f3280fcfdad (diff)
CTAN sync 202211030305
Diffstat (limited to 'support')
-rw-r--r--support/TeX4ht/source/ChangeLog10
-rw-r--r--support/TeX4ht/source/tex4ht-mathml.tex14
2 files changed, 20 insertions, 4 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index a58e929657..2c88db2ad7 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,13 @@
+2022-11-01 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.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
+ inside \mathcal.
+ https://github.com/michal-h21/make4ht/issues/95
+
2022-10-31 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-mathml.tex (mathml.4ht, html-mml.4ht): fixed output of the
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\><<<