[latex3-commits] [git/LaTeX3-latex3-hyperref] cleanup-patches: remove contentsline tests, no longer needed (0af9c8a)
Ulrike Fischer
fischer at troubleshooting-tex.de
Mon Mar 28 23:31:59 CEST 2022
Repository : https://github.com/latex3/hyperref
On branch : cleanup-patches
Link : https://github.com/latex3/hyperref/commit/0af9c8aa854372f66d617acb617b37557decd48e
>---------------------------------------------------------------
commit 0af9c8aa854372f66d617acb617b37557decd48e
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Mon Mar 28 23:31:59 2022 +0200
remove contentsline tests, no longer needed
>---------------------------------------------------------------
0af9c8aa854372f66d617acb617b37557decd48e
hyperref.dtx | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/hyperref.dtx b/hyperref.dtx
index c1a0f44..d469a55 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -9525,10 +9525,10 @@
% a document.
%
% Write some stuff into the aux file so if the next run is done
-% without hyperref, then |\contentsline| and |\newlabel| are defined
+% without hyperref, then |\newlabel| is defined
% to cope with the extra arguments.
-% change 2022-03-28: removed the code for contentsline, it is no
-% longer needed as contentsline has now always four arguments.
+% change 2022-03-28: removed the code for |\contentsline|, it is no
+% longer needed as |\contentsline| has now always four arguments.
% \begin{macrocode}
\if at filesw
\ifHy at typexml
@@ -9574,11 +9574,9 @@
% Now the code to deal with adding the hyperref package to a document
% with aux and toc written the standard way.
%
-% If hyperref was used last time, do nothing. If it was not used,
-% or an old version of hyperref was used, don't use that TOC at all
-% but generate a warning. Not ideal, but better than failing
-% with pre-5.0 hyperref TOCs.
-% change 2022-03-28: removed the test for an old toc. contentsline
+% If hyperref was used last time, do nothing.
+% change 2022-03-28: removed the test for an old toc.
+% |\contentsline|
% has now always four arguments.
% \begin{macrocode}
\ifx\hyper at last\@undefined
More information about the latex3-commits
mailing list.