diff options
author | Karl Berry <karl@freefriends.org> | 2022-06-09 21:38:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-06-09 21:38:03 +0000 |
commit | 8190a8c38928b3ecfdb3eda2ddcac462db0ee84d (patch) | |
tree | b7caae4e0091c13a4ed5b39a3ed71649ddf6f4a0 | |
parent | f12c8a73574ae241b46457b9f5f8ea21ea51bb69 (diff) |
no \@currentlabel for starred sectioning commands, tex4ht r1145
git-svn-id: svn://tug.org/texlive/trunk@63526 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 5 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 5 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/latex.4ht | 11 |
3 files changed, 14 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index da37383239e..457ddd3188e 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/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/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index 5830229c203..72e706b6c96 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/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 >>> diff --git a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht index 087c4427157..009e7c64698 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht @@ -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 @@ $\vcenter 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 @@ $\vcenter \expandafter\:temp\usepackage!*?: \def\:tempa{\@latex@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 @@ $\vcenter % % 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}$}}} |