summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-05-14 20:32:17 +0000
committerKarl Berry <karl@freefriends.org>2022-05-14 20:32:17 +0000
commitd3589ab6f2fce7147d841db1dac3287e93f11565 (patch)
tree3406f322ac542fb4d8308d6f36357c90f54914a7 /Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
parent1aa0b22bba401fbffd23fc7a26d30406500d4452 (diff)
hyperref (14may22)
git-svn-id: svn://tug.org/texlive/trunk@63298 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/nohyperref.sty')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/nohyperref.sty40
1 files changed, 22 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
index 8d51e1614af..8b9bcb183b7 100644
--- a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
+++ b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
@@ -6,17 +6,16 @@
%%
%% hyperref.dtx (with options: `nohyperref')
%%
-%% File: hyperref.dtx
%% Copyright
%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek,
%% 2001-2015 Heiko Oberdiek.
%% 2016-2019 Oberdiek Package Support Group
-%% 2019-2021 LaTeX Project
+%% 2019-2022 LaTeX Project
%% https://github.com/latex3/hyperref/issues
-%%
+%%
%% This file is part of the `Hyperref Bundle'.
%% -------------------------------------------
-%%
+%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
@@ -24,17 +23,18 @@
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
-%%
+%%
%% This work has the LPPL maintenance status `maintained'.
-%%
+%%
%% The Current Maintainer of this work is the LaTeX Project.
-%%
+%%
%% The list of all files belonging to the `Hyperref Bundle' is
%% given in the file `manifest.txt'.
-%%
-\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+%%
+%% File: hyperref.dtx
+\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\ProvidesPackage{nohyperref}
- [2022-02-21 v7.00n %
+ [2022-05-13 v7.00o %
Dummy hyperref (SR)]
\RequirePackage{letltxmacro}[2008/06/13]
\let\hyper@@anchor\@gobble
@@ -66,14 +66,18 @@
}
\long\def\@gobbleopt[#1]{}
\let\hyperpage\@empty
-\LetLtxMacro\NoHy@OrgRef\ref
-\DeclareRobustCommand*{\ref}{%
- \@ifstar\NoHy@OrgRef\NoHy@OrgRef
-}
-\LetLtxMacro\NoHy@OrgPageRef\pageref
-\DeclareRobustCommand*{\pageref}{%
- \@ifstar\NoHy@OrgPageRef\NoHy@OrgPageRef
-}
+\@ifl@t@r\fmtversion{2022-06-01}
+ {}%
+ {%
+ \LetLtxMacro\NoHy@OrgRef\ref
+ \DeclareRobustCommand*{\ref}{%
+ \@ifstar\NoHy@OrgRef\NoHy@OrgRef
+ }
+ \LetLtxMacro\NoHy@OrgPageRef\pageref
+ \DeclareRobustCommand*{\pageref}{%
+ \@ifstar\NoHy@OrgPageRef\NoHy@OrgPageRef
+ }%
+ }
\endinput
%%
%% End of file `nohyperref.sty'.