summaryrefslogtreecommitdiff
path: root/support/TeX4ht
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-12-22 03:01:08 +0000
committerNorbert Preining <norbert@preining.info>2022-12-22 03:01:08 +0000
commitd2ea2a6b7508d96cf6ef2079ab781b4ca30d7ca0 (patch)
tree6b9f581ad5896071e6bb42603cf0518b22f6afe8 /support/TeX4ht
parent90958e75f9ca64e2362424209dd3c0de08c32049 (diff)
CTAN sync 202212220301
Diffstat (limited to 'support/TeX4ht')
-rw-r--r--support/TeX4ht/source/ChangeLog6
-rw-r--r--support/TeX4ht/source/tex4ht-mathml.tex9
2 files changed, 14 insertions, 1 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index 55f2c52c61..2e48cb8376 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,9 @@
+2022-12-20 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-mathml.tex (mathml.4ht): use correct displayformat for
+ \dfrac and \dbinom.
+ https://tex.stackexchange.com/a/669031/2891
+
2022-12-17 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-html4.tex (html4.4ht): removed large left margin from
diff --git a/support/TeX4ht/source/tex4ht-mathml.tex b/support/TeX4ht/source/tex4ht-mathml.tex
index adef32e00b..4900483fae 100644
--- a/support/TeX4ht/source/tex4ht-mathml.tex
+++ b/support/TeX4ht/source/tex4ht-mathml.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-mathml.tex 1267 2022-12-15 21:43:11Z michal_h21 $$
+% $Id: tex4ht-mathml.tex 1272 2022-12-20 14:01:40Z michal_h21 $$
% compile 3 times: latex tex4ht-mathltx
% or xhlatex tex4ht-mathltx "html,3,sections+"
%
@@ -1595,7 +1595,14 @@ configurations, respectively.
}
>>>
+Use correct math style for Amsmath's variants of inline fractions.
+\<configure mathml amsmath\><<<
+\pend:def\dfrac{\Configure{genfrac}{\HCode{<\a:mathml mrow \mathchoice{\a:mathml displaystyle="true"}{}{}{}>}}{}{}{}{}{\HCode{</\a:mathml mrow>}}}
+\pend:def\tfrac{\Configure{genfrac}{\HCode{<\a:mathml mrow \mathchoice{\a:mathml displaystyle="false"}{}{}{}>}}{}{}{}{}{\HCode{</\a:mathml mrow>}}}
+\pend:def\dbinom{\Configure{genfrac}{\HCode{<\a:mathml mrow \mathchoice{\a:mathml displaystyle="true"}{}{}{}>}}{}{}{}{}{\HCode{</\a:mathml mrow>}}}
+\pend:def\tbinom{\Configure{genfrac}{\HCode{<\a:mathml mrow \mathchoice{\a:mathml displaystyle="false"}{}{}{}>}}{}{}{}{}{\HCode{</\a:mathml mrow>}}}
+>>>
\<mathml latex\><<<
\Configure{frac}