[tex4ht-commits] [SCM] tex4ht updated: r1613 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Fri Dec 6 12:45:22 CET 2024
Author: michal_h21
Date: 2024-12-06 11:45:21 +0000 (Fri, 06 Dec 2024)
New Revision: 1613
Modified:
trunk/lit/ChangeLog
trunk/lit/mktex4ht-cnf.tex
trunk/lit/tex4ht-4ht.tex
Log:
disable resizegather
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2024-12-06 09:47:13 UTC (rev 1612)
+++ trunk/lit/ChangeLog 2024-12-06 11:45:21 UTC (rev 1613)
@@ -1,5 +1,10 @@
2024-12-06 Michal Hoftich <michal.h21 at gmail.com>
+ * tex4ht-4ht.tex (
+ resizegather.4ht, usepackage.4ht, resizegather-hooks.4ht
+ ): disable the Resizegather package to prevent MathML errors.
+ https://github.com/michal-h21/make4ht/issues/158
+
* tex4ht-4ht.tex (glossaries.4ht): add a class atribute to links to
glossary.
https://tex.stackexchange.com/a/732132/2891
Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex 2024-12-06 09:47:13 UTC (rev 1612)
+++ trunk/lit/mktex4ht-cnf.tex 2024-12-06 11:45:21 UTC (rev 1613)
@@ -148,6 +148,8 @@
\AddFile{9}{braket}
\AddFile{9}{mathtools}
\AddFile{9}{mathtools-hooks}
+\AddFile{9}{resizegather}
+\AddFile{9}{resizegather-hooks}
\AddFile{9}{llncs}
\AddFile{9}{llncs-a}
\AddFile{9}{lncse}
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2024-12-06 09:47:13 UTC (rev 1612)
+++ trunk/lit/tex4ht-4ht.tex 2024-12-06 11:45:21 UTC (rev 1613)
@@ -22773,6 +22773,44 @@
\ExplSyntaxOff
>>>
+%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{resizegather}
+%%%%%%%%%%%%%%%%%%%%%%%%
+
+Basically, we need to disable Resizegather, because it redefines
+a lot of basic math environments and causes errors with MathML.
+So this is just a dummy file.
+
+\<resizegather.4ht\><<<
+% resizegather.4ht (|version), generated from |jobname.tex
+% Copyright 2024 TeX Users Group
+|<TeX4ht license text|>
+
+
+\Hinput{resizegather}
+\endinput
+>>> \AddFile{9}{resizegather}
+
+%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{resizegather-hooks}
+%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<add to usepackage\><<<
+\Configure{PackageHooks}{resizegather.sty}{resizegather-hooks.4ht}
+>>>
+
+\<resizegather-hooks.4ht\><<<
+% resizegather-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2024 TeX Users Group
+|<TeX4ht license text|>
+
+% this option should be enough to disable redefinition of equations
+% and other math environments
+\PassOptionsToPackage{equations=false}{resizegather}
+
+\endinput
+>>> \AddFile{9}{resizegather-hooks}
+
%%%%%%%%%%%%%%%%%%%%%%
\Chapter{Other}
%%%%%%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list.