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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue May 7 17:21:27 CEST 2024


Author: michal_h21
Date: 2024-05-07 15:21:27 +0000 (Tue, 07 May 2024)
New Revision: 1515

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
fixed restoring of \begin and \end in the \measure@ command

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-05-06 14:50:21 UTC (rev 1514)
+++ trunk/lit/ChangeLog	2024-05-07 15:21:27 UTC (rev 1515)
@@ -1,3 +1,8 @@
+2024-05-07  Linas Stonys  <lstonys at vtex.lt>
+
+	* tex4ht-4ht.tex (latex.4ht, amsmath.4ht): fixed restoring of \begin
+	and \end in the \measure@ command.
+
 2024-05-06  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-sty.tex (tex4ht.sty): don't disable \DocumentMetadata.

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2024-05-06 14:50:21 UTC (rev 1514)
+++ trunk/lit/tex4ht-4ht.tex	2024-05-07 15:21:27 UTC (rev 1515)
@@ -7276,6 +7276,7 @@
 \<latex ltmiscen\><<<
       \pend:defI\begin{\let\chk:pic|=\EndPicture }
       \let\o:begin:|=\begin
+      \expandafter\let \csname o:begin :\expandafter\endcsname\csname begin \endcsname
       \let\choose:begin\@firstoftwo
 \DeclareRobustCommand\begin[1]{\csname @begin:#1\endcsname 
   \choose:begin
@@ -7352,7 +7353,7 @@
 %%%%%%%%%%%%%
 
 \<latex ltmiscen\><<<
-\let\o:end:|=\end
+\expandafter\let \csname o:end :\expandafter\endcsname\csname end \endcsname
 \DeclareRobustCommand\end[1]{\choose:begin
   {|<revised end|>}%
   {\o:end:{#1}}}
@@ -21218,8 +21219,10 @@
 \let\:tempc|=\measure@
 \pend:defI\:tempc{\bgroup
    \RecallTeXcr \HRestore\noalign \let\EndPicture\empty
-   \let\halign|=\TeXhalign \let\span|=\:span  \HRestore\begin 
-   \HRestore\end   \a:measure@ }
+   \let\halign|=\TeXhalign \let\span|=\:span  
+   \expandafter\HRestore\csname begin \endcsname
+   \expandafter\HRestore\csname end \endcsname
+ \a:measure@ }
 \append:defI\:tempc{\egroup}
 \HLet\measure@|=\:tempc
 \NewConfigure{measure@}{1}



More information about the tex4ht-commits mailing list.