From fb4909f4112d8b778570cf1c2e25ca18c63bc1ca Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 10 Jun 2022 03:02:43 +0000 Subject: CTAN sync 202206100302 --- support/TeX4ht/source/ChangeLog | 5 +++++ support/TeX4ht/source/tex4ht-4ht.tex | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'support/TeX4ht') diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index da37383239..457ddd3188 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,3 +1,8 @@ +2022-06-09 Michal Hoftich + + * tex4ht-4ht.tex (latex.4ht): don't update \@currentlabel for + starred sectioning commands. + 2022-06-08 Michal Hoftich * tex4ht-4ht.tex (ifthen.4ht): restore \ifthen from diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index 5830229c20..72e706b6c9 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -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 @@ of entries as \''\Alph'. 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 >>> -- cgit v1.2.3