summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-12-26 21:08:33 +0000
committerKarl Berry <karl@freefriends.org>2022-12-26 21:08:33 +0000
commit56b77016f53109f00f4ec059b2f64e38ed1f7fba (patch)
tree9e52259a34e44f5bad027c2d9e7c67d48c04fa4c /Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
parentb5c58f1b712acb8b4aa97b6c9b6aef1e17ea601d (diff)
begin/end as robust, tex4ht r1277; mdframed to picture error, tex4ht r1278
git-svn-id: svn://tug.org/texlive/trunk@65368 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex10
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index 2e301d2010a..d57d1e294c0 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1276 2022-12-24 12:44:15Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1278 2022-12-26 19:24:35Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -6953,7 +6953,7 @@ and the command \`'\end{xxx}' referes to the meaning of \`'\endxxx'.
\pend:defI\begin{\let\chk:pic|=\EndPicture }
\let\o:begin:|=\begin
\let\choose:begin\@firstoftwo
-\def\begin#1{\csname @begin:#1\endcsname
+\DeclareRobustCommand\begin[1]{\csname @begin:#1\endcsname
\choose:begin
{\let\choose:begin\@firstoftwo |<revised begin|>}%
{\o:begin:{#1}}}
@@ -7029,7 +7029,7 @@ are initiated within \''\begin{...}'. For instance, in eqnarray there
\<latex ltmiscen\><<<
\let\o:end:|=\end
-\def\end#1{\choose:begin
+\DeclareRobustCommand\end[1]{\choose:begin
{|<revised end|>}%
{\o:end:{#1}}}
>>>
@@ -28019,6 +28019,10 @@ We need to use dvips driver with XeLaTeX
\append:def\mdf@@ignorelastdescenders{\let\orig:unskip\unskip\def\unskip{\let\unskip\orig:unskip}}%
\HLet\mdf@lrbox\:gobble
\HLet\endmdf@lrbox\relax
+% disable compilation error caused by Mdframed's patch for Amsthm:
+\AtBeginDocument{%
+ \let\mdf@patchamsthm\relax%
+}
\Hinput{mdframed}
\endinput
>>> \AddFile{9}{mdframed}