texlive[65368] Master/texmf-dist: begin/end as robust, tex4ht r1277;
commits+karl at tug.org
commits+karl at tug.org
Mon Dec 26 22:08:33 CET 2022
Revision: 65368
http://tug.org/svn/texlive?view=revision&revision=65368
Author: karl
Date: 2022-12-26 22:08:33 +0100 (Mon, 26 Dec 2022)
Log Message:
-----------
begin/end as robust, tex4ht r1277; mdframed to picture error, tex4ht r1278
Revision Links:
--------------
http://tug.org/svn/texlive?view=revision&revision=1277
http://tug.org/svn/texlive?view=revision&revision=1278
Modified Paths:
--------------
trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
trunk/Master/texmf-dist/tex/generic/tex4ht/mdframed.4ht
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2022-12-26 20:53:49 UTC (rev 65367)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2022-12-26 21:08:33 UTC (rev 65368)
@@ -1,3 +1,14 @@
+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
+
2022-12-24 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (mdframed.4ht): fixed support for Mdframed used
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2022-12-26 20:53:49 UTC (rev 65367)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2022-12-26 21:08:33 UTC (rev 65368)
@@ -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 @@
\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 @@
\<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 @@
\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}
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht 2022-12-26 20:53:49 UTC (rev 65367)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht 2022-12-26 21:08:33 UTC (rev 65368)
@@ -1,4 +1,4 @@
-% latex.4ht (2022-10-17-13:57), generated from tex4ht-4ht.tex
+% latex.4ht (2022-12-26-13:00), generated from tex4ht-4ht.tex
% Copyright 1997-2009 Eitan M. Gurari
% Copyright 2009-2022 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-10-17-13:57}
+\immediate\write-1{version 2022-12-26-13:00}
\ifx\SaveMkHalignConf:g\:UnDef \else \expandafter\endinput\fi
@@ -592,7 +592,7 @@
\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 \ifx \EndPicture\:Undef
\PushStack\envn:list\n:list \SaveEverypar
@@ -640,7 +640,7 @@
\expandafter\ifx\csname @begin:#1\endcsname\relax\fi
\expandafter\concat:config\csname @begin:#1\endcsname{#2}}
\let\o:end:\end
-\def\end#1{\choose:begin
+\DeclareRobustCommand\end[1]{\choose:begin
{%\IgnoreIndent
\ifvmode \ifx \EndPicture\:UnDef
\def\:temp{\def\:temp{%
@@ -2323,7 +2323,7 @@
\expandafter\:temp\usepackage!*?:
\def\:tempa{\@latex at e@error}
\ifx \:temp\:tempa
- % latex209.4ht (2022-10-17-13:57), generated from tex4ht-4ht.tex
+ % latex209.4ht (2022-12-26-13:00), generated from tex4ht-4ht.tex
% Copyright 1997-2009 Eitan M. Gurari
% Copyright 2009-2022 TeX Users Group
%
@@ -2342,7 +2342,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-10-17-13:57}
+\immediate\write-1{version 2022-12-26-13:00}
\let\:fnsymbol\@fnsymbol
\def\@fnsymbol#1{{\hbox{$\:fnsymbol{#1}$}}}
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mdframed.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mdframed.4ht 2022-12-26 20:53:49 UTC (rev 65367)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mdframed.4ht 2022-12-26 21:08:33 UTC (rev 65368)
@@ -1,4 +1,4 @@
-% mdframed.4ht (2022-12-24-12:36), generated from tex4ht-4ht.tex
+% mdframed.4ht (2022-12-26-13:00), generated from tex4ht-4ht.tex
% Copyright 2017-2022 TeX Users Group
%
% This work may be distributed and/or modified under the
@@ -16,7 +16,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-12-24-12:36}
+\immediate\write-1{version 2022-12-26-13:00}
\NewConfigure{mdframed}{2}
@@ -38,6 +38,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
More information about the tex-live-commits
mailing list.