[tex4ht-commits] [SCM] tex4ht updated: r1304 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Tue Mar 7 13:50:09 CET 2023
Author: michal_h21
Date: 2023-03-07 12:50:09 +0000 (Tue, 07 Mar 2023)
New Revision: 1304
Modified:
trunk/lit/ChangeLog
trunk/lit/mktex4ht-cnf.tex
trunk/lit/tex4ht-4ht.tex
Log:
fixed mathml issues with the physics package
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2023-03-02 10:52:32 UTC (rev 1303)
+++ trunk/lit/ChangeLog 2023-03-07 12:50:09 UTC (rev 1304)
@@ -1,3 +1,9 @@
+2023-03-07 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (physics.4ht): fixed MathML issues with the Physics
+ package.
+ https://github.com/michal-h21/make4ht/issues/109
+
2023-03-02 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-html4.tex (html4.4ht): added jpeg to list of supported
Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex 2023-03-02 10:52:32 UTC (rev 1303)
+++ trunk/lit/mktex4ht-cnf.tex 2023-03-07 12:50:09 UTC (rev 1304)
@@ -259,6 +259,7 @@
\AddFile{8}{euler}
\AddFile{8}{eucal}
\AddFile{9}{longdiv}
+\AddFile{9}{physics}
\AddFile{7}{index}
\AddFile{7}{multind}
\AddFile{7}{imakeidx}
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2023-03-02 10:52:32 UTC (rev 1303)
+++ trunk/lit/tex4ht-4ht.tex 2023-03-07 12:50:09 UTC (rev 1304)
@@ -31257,6 +31257,28 @@
\NewConfigure{longdiv}{2}
>>>
+\Section{physics.sty}
+
+\<physics.4ht\><<<
+% physics.4ht (|version), generated from |jobname.tex
+% Copyright 2023 TeX Users Group
+|<TeX4ht license text|>
+|<physics argopen|>
+\Hinput{physics}
+\endinput
+>>> \AddFile{9}{physics}
+
+argopen and argclose cause issues in MathML, so we make a dummy definition, which is then
+used outside of Pictures. The original version added automatically left and right, which is
+not necessary in MathML anyway.
+
+\<physics argopen\><<<
+\DeclareDocumentCommand\physics:argopen{s}{} % Special open grouping for argument of a function
+\DeclareDocumentCommand\physics:argclose{s}{} % Special close grouping for argument of a function
+\HLet\argopen\physics:argopen
+\HLet\argclose\physics:argclose
+>>>
+
%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{Indexes}
\SubSection{index.sty}
More information about the tex4ht-commits
mailing list.