[tex4ht-commits] [SCM] tex4ht updated: r1278 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Mon Dec 26 20:24:35 CET 2022
Author: michal_h21
Date: 2022-12-26 19:24:35 +0000 (Mon, 26 Dec 2022)
New Revision: 1278
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
prevent error with mdframed and amsthm
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2022-12-26 10:35:20 UTC (rev 1277)
+++ trunk/lit/ChangeLog 2022-12-26 19:24:35 UTC (rev 1278)
@@ -1,5 +1,10 @@
2022-12-26 Michal Hoftich <michal.h21 at gmail.com>
+ * tex4ht-4ht.tex (mdframed.4ht): prevent compilation error when we
+ convert mdframed environment to picture and amsthm package is
+ loaded.
+ https://tex.stackexchange.com/a/669526/2891
+
* tex4ht-4ht.tex (latex.4ht): declared \begin and \end as robust
commands.
https://tex.stackexchange.com/a/669675/2891
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2022-12-26 10:35:20 UTC (rev 1277)
+++ trunk/lit/tex4ht-4ht.tex 2022-12-26 19:24:35 UTC (rev 1278)
@@ -28019,6 +28019,10 @@
\append:def\mdf@@ignorelastdescenders{\let\orig:unskip\unskip\def\unskip{\let\unskip\orig:unskip}}%
\HLet\mdf at lrbox\:gobble
\HLet\endmdf at lrbox\relax
+% disable compilation error caused by Mdframed's patch for Amsthm:
+\AtBeginDocument{%
+ \let\mdf at patchamsthm\relax%
+}
\Hinput{mdframed}
\endinput
>>> \AddFile{9}{mdframed}
More information about the tex4ht-commits
mailing list.