summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-mathml.tex
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/source/tex4ht-mathml.tex
parent90958e75f9ca64e2362424209dd3c0de08c32049 (diff)
CTAN sync 202212220301
Diffstat (limited to 'support/TeX4ht/source/tex4ht-mathml.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-mathml.tex9
1 files changed, 8 insertions, 1 deletions
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}