[tex4ht-commits] [SCM] tex4ht updated: r1277 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Mon Dec 26 11:35:20 CET 2022


Author: michal_h21
Date: 2022-12-26 10:35:20 +0000 (Mon, 26 Dec 2022)
New Revision: 1277

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
declared begin and end as robust commands

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-12-24 12:44:15 UTC (rev 1276)
+++ trunk/lit/ChangeLog	2022-12-26 10:35:20 UTC (rev 1277)
@@ -1,3 +1,9 @@
+2022-12-26  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* 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/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-12-24 12:44:15 UTC (rev 1276)
+++ trunk/lit/tex4ht-4ht.tex	2022-12-26 10:35:20 UTC (rev 1277)
@@ -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}}}
 >>>



More information about the tex4ht-commits mailing list.