[tex4ht-commits] [SCM] tex4ht updated: r1377 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Thu Oct 5 12:14:06 CEST 2023
Author: michal_h21
Date: 2023-10-05 10:14:06 +0000 (Thu, 05 Oct 2023)
New Revision: 1377
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-mathml.tex
Log:
fixed \dfrac issue with the ODT output
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2023-10-04 12:24:05 UTC (rev 1376)
+++ trunk/lit/ChangeLog 2023-10-05 10:14:06 UTC (rev 1377)
@@ -1,5 +1,11 @@
2023-10-04 Michal Hoftich <michal.h21 at gmail.com>
+ * tex4ht-mathml.tex (mathml.4ht): removed \mathchoice from
+ configurations of \dfrac, \tfrac, \tbinom and \dbinom. It caused
+ output of verbatim TeX code in the ODT output.
+
+2023-10-04 Michal Hoftich <michal.h21 at gmail.com>
+
* tex4ht-sty.tex (tex4ht.sty): disable the \DocumentMetadata
command, in order to prevent invocation of the LaTeX tagging system,
which clashes with TeX4ht.
Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex 2023-10-04 12:24:05 UTC (rev 1376)
+++ trunk/lit/tex4ht-mathml.tex 2023-10-05 10:14:06 UTC (rev 1377)
@@ -1603,14 +1603,14 @@
support their use \Link[https://github.com/michal-h21/make4ht/issues/129]{}{}inside of fractions\EndLink.
\<configure mathml amsmath\><<<
-\pend:def\dfrac{\Configure{genfrac}{\HCode{<\a:mathml mstyle \mathchoice{\a:mathml displaystyle="true"}{}{}{}><mfrac><mrow>}
+\pend:def\dfrac{\Configure{genfrac}{\HCode{<\a:mathml mstyle \a:mathml displaystyle="true"><mfrac><mrow>}
\Configure{over}{}{}}{}{}{\HCode{</mrow><mrow>}
} {}{\HCode{</mrow></mfrac></\a:mathml mstyle>}}}
-\pend:def\tfrac{\Configure{genfrac}{\HCode{<\a:mathml mstyle \mathchoice{\a:mathml displaystyle="false"}{}{}{}><mfrac><mrow>}
+\pend:def\tfrac{\Configure{genfrac}{\HCode{<\a:mathml mstyle \a:mathml displaystyle="false"><mfrac><mrow>}
\Configure{over}{}{}}{}{}{\HCode{</mrow><mrow>}
}{}{\HCode{</mrow></mfrac></\a:mathml mstyle>}}}
-\pend:def\dbinom{\Configure{genfrac}{\HCode{<\a:mathml mstyle \mathchoice{\a:mathml displaystyle="true"}{}{}{}>}}{}{}{}{}{\HCode{</\a:mathml mstyle>}}}
-\pend:def\tbinom{\Configure{genfrac}{\HCode{<\a:mathml mstyle \mathchoice{\a:mathml displaystyle="false"}{}{}{}>}}{}{}{}{}{\HCode{</\a:mathml mstyle>}}}
+\pend:def\dbinom{\Configure{genfrac}{\HCode{<\a:mathml mstyle \a:mathml displaystyle="true">}}{}{}{}{}{\HCode{</\a:mathml mstyle>}}}
+\pend:def\tbinom{\Configure{genfrac}{\HCode{<\a:mathml mstyle \a:mathml displaystyle="false">}}{}{}{}{}{\HCode{</\a:mathml mstyle>}}}
>>>
\<mathml latex\><<<
More information about the tex4ht-commits
mailing list.