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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Fri Jan 10 10:41:53 CET 2025


Author: michal_h21
Date: 2025-01-10 09:41:53 +0000 (Fri, 10 Jan 2025)
New Revision: 1627

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
use \protected at edef in \@caption

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2025-01-09 21:25:52 UTC (rev 1626)
+++ trunk/lit/ChangeLog	2025-01-10 09:41:53 UTC (rev 1627)
@@ -1,3 +1,8 @@
+2025-01-10  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (latex.4ht): use \protected at edef in definition of
+	\@caption.
+
 2025-01-09  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-mathml.tex (html-mml.4ht): don't hide last rows in arrays.

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2025-01-09 21:25:52 UTC (rev 1626)
+++ trunk/lit/tex4ht-4ht.tex	2025-01-10 09:41:53 UTC (rev 1627)
@@ -12479,8 +12479,8 @@
 \begingroup
    \gHAdvance\TitleCount by 1  
    \protect:wrtoc
-   \edef\:temp{#2}%
-   \edef\:temp{\the\:tokwrite{\string\doTocEntry
+   \protected at edef\:temp{#2}%
+   \protected at edef\:temp{\the\:tokwrite{\string\doTocEntry
      \string\toc|<caption type|>{\csname 
         the#1\endcsname}{\string\csname\space a:TocLink\string\endcsname
       {\FileNumber}{\cur:th



More information about the tex4ht-commits mailing list.