[latex3-commits] [latex3/hyperref] develop: remove unneeded ref fallbacks (f32f068)
github at latex-project.org
github at latex-project.org
Thu Nov 9 20:03:28 CET 2023
Repository : https://github.com/latex3/hyperref
On branch : develop
Link : https://github.com/latex3/hyperref/commit/f32f0681c6d63290feb9641be55519f9c2504d46
>---------------------------------------------------------------
commit f32f0681c6d63290feb9641be55519f9c2504d46
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Thu Nov 9 20:03:28 2023 +0100
remove unneeded ref fallbacks
>---------------------------------------------------------------
f32f0681c6d63290feb9641be55519f9c2504d46
ChangeLog.txt | 7 +++++++
hyperref.dtx | 31 +------------------------------
2 files changed, 8 insertions(+), 30 deletions(-)
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 660a345..0fe70ea 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,10 @@
+2023-11-09 Ulrike Fischer
+ * correct commands in encoding files, issue 307 and 308
+ * remove now unneeded fallbacks for reference commands
+
+===========
+Version: 2023-10-27 v7.01e
+
2023-11-07 Ulrike Fischer
* improve thm code, issue 304
* insert socket for varwidth, issue 204 and 293
diff --git a/hyperref.dtx b/hyperref.dtx
index 8cd92da..974d6d4 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -9420,21 +9420,6 @@
}
% \end{macrocode}
-% Ignore star from referencing macros:
-% This is only needed if LaTeX doesn't define the starred
-% variants itself.
-% \begin{macrocode}
-\@ifundefined{@kernel at ref}
- {\LetLtxMacro\NoHy at OrgRef\ref
- \DeclareRobustCommand*{\ref}{%
- \@ifstar\NoHy at OrgRef\NoHy at OrgRef
- }
- \LetLtxMacro\NoHy at OrgPageRef\pageref
- \DeclareRobustCommand*{\pageref}{%
- \@ifstar\NoHy at OrgPageRef\NoHy at OrgPageRef
- }}{}
-% \end{macrocode}
-%
% \section{Localized nullifying of package}
% Sometimes we just don't want the wretched package interfering
% with us. Define an environment we can put in manually, or include
@@ -9522,21 +9507,7 @@
\long\def\@gobbleopt[#1]{}
\let\hyperpage\@empty
% \end{macrocode}
-% Ignore star from referencing macros. This is only
-% needed in older formats.
-% \begin{macrocode}
-\@ifl at t@r\fmtversion{2022-06-01}
- {}%
- {%
- \LetLtxMacro\NoHy at OrgRef\ref
- \DeclareRobustCommand*{\ref}{%
- \@ifstar\NoHy at OrgRef\NoHy at OrgRef
- }
- \LetLtxMacro\NoHy at OrgPageRef\pageref
- \DeclareRobustCommand*{\pageref}{%
- \@ifstar\NoHy at OrgPageRef\NoHy at OrgPageRef
- }%
- }
+%
%</nohyperref>
% \end{macrocode}
%
More information about the latex3-commits
mailing list.