summaryrefslogtreecommitdiff
path: root/support/TeX4ht
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-06-10 03:02:43 +0000
committerNorbert Preining <norbert@preining.info>2022-06-10 03:02:43 +0000
commitfb4909f4112d8b778570cf1c2e25ca18c63bc1ca (patch)
tree92ffbc5b652338ec52811278f6f700718b359c93 /support/TeX4ht
parent16559ce13a74c7a182875559b379cac00b07efda (diff)
CTAN sync 202206100302
Diffstat (limited to 'support/TeX4ht')
-rw-r--r--support/TeX4ht/source/ChangeLog5
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex5
2 files changed, 8 insertions, 2 deletions
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 <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (latex.4ht): don't update \@currentlabel for
+ starred sectioning commands.
+
2022-06-08 Michal Hoftich <michal.h21@gmail.com>
* 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
>>>