summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-01-21 21:16:05 +0000
committerKarl Berry <karl@freefriends.org>2024-01-21 21:16:05 +0000
commit06408d0117ef1c20ac3af09b03f082df3e5987bc (patch)
treebb928efe950af720c5d44f1f07c40eb22dd20126 /Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
parentacc380640f7151c1eb72cd8f05c1cb5c82609939 (diff)
hyperref (21jan24)
git-svn-id: svn://tug.org/texlive/trunk@69523 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.sty7
1 files changed, 3 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
index e36f0355407..3af528d7ad5 100644
--- a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
+++ b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
@@ -10,7 +10,7 @@
%% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek
%% 2001-2015 Heiko Oberdiek
%% 2016-2019 Oberdiek Package Support Group
-%% 2019-2023 LaTeX Project
+%% 2019-2024 LaTeX Project
%% https://github.com/latex3/hyperref/issues
%%
%% This file is part of the `Hyperref Bundle'.
@@ -34,9 +34,8 @@
%% File: hyperref.dtx
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\ProvidesPackage{nohyperref}
- [2023-11-26 v7.01g %
+ [2024-01-20 v7.01h %
Dummy hyperref (SR)]
-\RequirePackage{letltxmacro}[2008/06/13]
\let\hyper@@anchor\@gobble
\def\hyper@link#1#2#3{#3}%
\let\hyper@anchorstart\@gobble
@@ -61,7 +60,7 @@
\let\hyperdef\@gobbletwo
\let\hyperlink\@gobble
\let\hypertarget\@gobble
-\def\hyperref{%
+\protected\def\hyperref{%
\@ifnextchar[\@gobbleopt{\expandafter\@gobbletwo\@gobble}%
}
\long\def\@gobbleopt[#1]{}