[latex3-commits] [git/LaTeX3-latex3-hyperref] cleanup-patches: deprecate localanchorname (0db2224)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat Apr 30 14:30:12 CEST 2022


Repository : https://github.com/latex3/hyperref
On branch  : cleanup-patches
Link       : https://github.com/latex3/hyperref/commit/0db2224bda3efb9ab5c2ae5a920d986c5aa460ae

>---------------------------------------------------------------

commit 0db2224bda3efb9ab5c2ae5a920d986c5aa460ae
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Apr 30 14:30:12 2022 +0200

    deprecate localanchorname


>---------------------------------------------------------------

0db2224bda3efb9ab5c2ae5a920d986c5aa460ae
 ChangeLog.txt | 1 +
 hyperref.dtx  | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/ChangeLog.txt b/ChangeLog.txt
index 58375cf..014c629 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,5 +1,6 @@
 XXXX-XX-XX Ulrike Fischer/David Carlisle
 
+    * the experimental option localanchorname has been deprecated
     * LaTeX 2020-10-01 is required as hooks are used now.
     * \refstepcounter no longer tests for the slide counter as no reason could be found
       for that test.
diff --git a/hyperref.dtx b/hyperref.dtx
index b6ee59b..fb0b99d 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -4729,6 +4729,9 @@
 %    \end{macrocode}
 %    \begin{macrocode}
 \define at key{Hyp}{localanchorname}[true]{%
+  \Hy at WarningNoLine{%
+        Option `localanchorname' is deprecated%
+      }%
   \Hy at boolkey{localanchorname}{#1}%
 }
 %    \end{macrocode}





More information about the latex3-commits mailing list.