[latex3-commits] [git/LaTeX3-latex3-hyperref] master: removed outdated test from nameref (6cc8df6)

Ulrike Fischer fischer at troubleshooting-tex.de
Thu Oct 1 14:36:47 CEST 2020


Repository : https://github.com/latex3/hyperref
On branch  : master
Link       : https://github.com/latex3/hyperref/commit/6cc8df652eaabbdcd2e02350a32ccb0a47d4988d

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

commit 6cc8df652eaabbdcd2e02350a32ccb0a47d4988d
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Oct 1 14:36:47 2020 +0200

    removed outdated test from nameref


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

6cc8df652eaabbdcd2e02350a32ccb0a47d4988d
 ChangeLog.txt |  1 +
 nameref.dtx   | 10 ----------
 2 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/ChangeLog.txt b/ChangeLog.txt
index 5eea0f7..22566e8 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -7,6 +7,7 @@
     * removed outdated code to fix the first page boxlevel.
     * removed outdated code to fix old ltxcmds code
     * removed outdated code to fix fancyvrb
+    * removed outdated code to fix caption from nameref
 
 2020-01-14 7.00d David Carlisle
     * Test for newer GhostScript releases in dvips output
diff --git a/nameref.dtx b/nameref.dtx
index f6ea1c8..b2eddd2 100644
--- a/nameref.dtx
+++ b/nameref.dtx
@@ -401,16 +401,6 @@
 %
 %    \begin{macrocode}
 \AtBeginDocument{%
-  \@ifpackageloaded{hyperref}{%
-    \@ifpackagelater{hyperref}{2009/12/05}\@gobble\@firstofone
-  }\@firstofone
-  {%
-    \let\NR@@caption\@caption
-    \long\def\@caption#1[#2]{%
-      \NR at gettitle{#2}%
-      \NR@@caption{#1}[{#2}]%
-    }%
-  }%
 %    \end{macrocode}
 %
 %    \begin{macrocode}





More information about the latex3-commits mailing list.