texlive[63526] Master/texmf-dist: no \@currentlabel for starred

commits+karl at tug.org commits+karl at tug.org
Thu Jun 9 23:38:03 CEST 2022


Revision: 63526
          http://tug.org/svn/texlive?view=revision&revision=63526
Author:   karl
Date:     2022-06-09 23:38:03 +0200 (Thu, 09 Jun 2022)
Log Message:
-----------
no \@currentlabel for starred sectioning commands, tex4ht r1145

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=1145

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-06-09 20:35:10 UTC (rev 63525)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-06-09 21:38:03 UTC (rev 63526)
@@ -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/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-06-09 20:35:10 UTC (rev 63525)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-06-09 21:38:03 UTC (rev 63526)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1144 2022-06-08 22:03:06Z karl $
+% $Id: tex4ht-4ht.tex 1145 2022-06-09 10:45:16Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2022 TeX Users Group    
@@ -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
 >>>
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht	2022-06-09 20:35:10 UTC (rev 63525)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/latex.4ht	2022-06-09 21:38:03 UTC (rev 63526)
@@ -1,4 +1,4 @@
-% latex.4ht (2022-04-24-13:19), generated from tex4ht-4ht.tex
+% latex.4ht (2022-06-09-13:58), generated from tex4ht-4ht.tex
 % Copyright 1997-2009 Eitan M. Gurari
 % Copyright 2009-2022 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-04-24-13:19}
+\immediate\write-1{version 2022-06-09-13:58}
 
 \ifx\SaveMkHalignConf:g\:UnDef \else \expandafter\endinput\fi
 
@@ -2093,8 +2093,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
 %
    \xdef\cur:th{x\last:haddr}%
@@ -2308,7 +2309,7 @@
 \expandafter\:temp\usepackage!*?: 
 \def\:tempa{\@latex at e@error}
 \ifx \:temp\:tempa
-   % latex209.4ht (2022-04-24-13:19), generated from tex4ht-4ht.tex
+   % latex209.4ht (2022-06-09-13:58), generated from tex4ht-4ht.tex
 % Copyright 1997-2009 Eitan M. Gurari
 % Copyright 2009-2022 TeX Users Group
 %
@@ -2327,7 +2328,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-04-24-13:19}
+\immediate\write-1{version 2022-06-09-13:58}
 
 \let\:fnsymbol\@fnsymbol
 \def\@fnsymbol#1{{\hbox{$\:fnsymbol{#1}$}}}



More information about the tex-live-commits mailing list.