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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Thu Jun 9 12:45:16 CEST 2022


Author: michal_h21
Date: 2022-06-09 10:45:16 +0000 (Thu, 09 Jun 2022)
New Revision: 1145

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
don't set \@currentlabel for starred sectioning commands

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-06-08 22:03:06 UTC (rev 1144)
+++ trunk/lit/ChangeLog	2022-06-09 10:45:16 UTC (rev 1145)
@@ -1,3 +1,8 @@
+2022-06-09  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (latex.4ht): don't update \@currentlabel for
+	starred sectioning commands.
+
 2022-06-08  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (ifthen.4ht): restore \ifthen from

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-06-08 22:03:06 UTC (rev 1144)
+++ trunk/lit/tex4ht-4ht.tex	2022-06-09 10:45:16 UTC (rev 1145)
@@ -1755,8 +1755,9 @@
      XXI\or XXII\or XXIII\or XXIV\or XV\or XVI\else
      \expandafter\uppercase\expandafter{\romannumeral ##1}\fi}%
    \a:currentlabel
+   \expandafter\ifcsname p@#1\endcsname%
    \edef\:temp{\csname p@#1\expandafter\endcsname\csname the#1\endcsname}\ifx \:temp\empty
-   \else \global\let\@currentlabel|=\:temp\fi
+   \else \global\let\@currentlabel|=\:temp\fi\fi
 \egroup
 >>>
 



More information about the tex4ht-commits mailing list.