diff options
author | Karl Berry <karl@freefriends.org> | 2022-12-20 22:18:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-12-20 22:18:14 +0000 |
commit | 549a9d444e6a87183cd26f70ce772aa73512fd89 (patch) | |
tree | b02f0530a24d768a6dbbe0b324f08b0857fa8875 /Master/texmf-dist/source | |
parent | da5ba7f71fefc2c87da99d8b1df350f72889b9ad (diff) |
\dfrac and \dbinom support, tex4ht r1272
git-svn-id: svn://tug.org/texlive/trunk@65320 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 6 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex | 9 |
2 files changed, 14 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 55f2c52c61b..2e48cb83762 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/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/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex index adef32e00b8..4900483fae1 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex +++ b/Master/texmf-dist/source/generic/tex4ht/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} |