summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-02-08 03:01:02 +0000
committerNorbert Preining <norbert@preining.info>2024-02-08 03:01:02 +0000
commitbaa694429155689a0e8bba804206961689e0a606 (patch)
treee7074074037b2817025ce6abfeddc286d6b1eff7 /support
parent50fcb5024d3243d7e1601abf72b5f4444dd618b6 (diff)
CTAN sync 202402080301
Diffstat (limited to 'support')
-rw-r--r--support/TeX4ht/source/ChangeLog6
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex14
2 files changed, 18 insertions, 2 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index 427adcd3d4..1809a81346 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,9 @@
+2024-02-06 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (mathtools-hooks.4ht): prevent multiple loading of
+ this config file. Reported by Justin Shorb, caused by the Chemmacros
+ package.
+
2024-01-30 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-html4.tex (html4.4ht): fixed nested links in footnotes.
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index bd81cb0db4..14ee0a16e9 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1455 2024-01-29 13:45:00Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1458 2024-02-06 16:07:33Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2024 TeX Users Group
@@ -22268,12 +22268,22 @@ $\m@th\displaystyle{{}#}$%
\<mathtools-hooks.4ht\><<<
% mathtools-hooks.4ht, generated from |jobname.tex
-% Copyright 2023 TeX Users Group
+% Copyright 2023-2024 TeX Users Group
|<TeX4ht license text|>
+|<mathtools dont load twice|>
|<mathtools inner wrapper|>
>>>
\AddFile{9}{mathtools-hooks}
+The Chemmacros package loads mathtools multiple times, but the subsequent loads lead to
+problems with catcodes. I don't see a reason for this, but it happened. To prevent that
+we will stop loading of this file if mathtools is already loaded.
+
+It is possible that similar issues can happen with other early hooks configuration files.
+
+\<mathtools dont load twice\><<<
+\@ifpackageloaded{mathtools}{\endinput}{}
+>>>
This should prevent compilation errors with commands declared using \''\DeclarePairedDelimiter' and MathML.
We need to patch the command at the moment when it is declared, so it must be available