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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Mon Jul 4 13:17:52 CEST 2022


Author: michal_h21
Date: 2022-07-04 11:17:52 +0000 (Mon, 04 Jul 2022)
New Revision: 1166

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

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-07-03 18:18:19 UTC (rev 1165)
+++ trunk/lit/ChangeLog	2022-07-04 11:17:52 UTC (rev 1166)
@@ -1,3 +1,9 @@
+2022-07-04  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (nameref.4ht): use \protected at xdef in definition of
+	caption title, to prevent further errors.
+	https://tex.stackexchange.com/a/649734/2891
+
 2022-07-03  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (colortbl.4ht): fixed error when \arrayrulecolor is

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-07-03 18:18:19 UTC (rev 1165)
+++ trunk/lit/tex4ht-4ht.tex	2022-07-04 11:17:52 UTC (rev 1166)
@@ -3482,7 +3482,7 @@
     \begingroup%
     \let\index\:gobble%
     \let\label\:gobble%
-    \xdef\NR:Title{\a:newlabel{#2}}%
+    \protected at xdef\NR:Title{\a:newlabel{#2}}%
     \endgroup%
    \o:NR@@caption{#1}[{#2}]%
 }      



More information about the tex4ht-commits mailing list.