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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Feb 1 12:32:39 CET 2022


Author: michal_h21
Date: 2022-02-01 11:32:39 +0000 (Tue, 01 Feb 2022)
New Revision: 1066

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
use global definition for current label

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-01-30 21:57:50 UTC (rev 1065)
+++ trunk/lit/ChangeLog	2022-02-01 11:32:39 UTC (rev 1066)
@@ -17,6 +17,12 @@
 	* tex4ht-html5.tex: 2022.
 	* Makefile (diff-*): report targets.
 
+2022-01-21  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (latex.4ht): use global definition for current
+	label, in order to support labels inside groups.
+	https://github.com/michal-h21/tex4ebook/issues/91
+
 2022-01-20  Karl Berry  <karl at freefriends.org>
 
 	* update-htfonts: new script to compare/update htfonts from

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-01-30 21:57:50 UTC (rev 1065)
+++ trunk/lit/tex4ht-4ht.tex	2022-02-01 11:32:39 UTC (rev 1066)
@@ -1583,7 +1583,7 @@
   |<def :currentlabel for refstepcounter|>%
   \anc:lbl r{#1}}
 \def\anc:lbl#1#2{%
-   \html:addr   \edef\cur:th{|<haddr prefix|>\last:haddr #1}%
+   \html:addr   \xdef\cur:th{|<haddr prefix|>\last:haddr #1}%
    \ifx \EndPicture\:UnDef
       {\let\leavevmode|=\empty \cur:lbl{#2}%
       \Make:Label{\cur:th\:currentlabel}{}}%



More information about the tex4ht-commits mailing list.