Debian Codegraph @

texmf-dist/tex/latex/hyperref/nohyperref.sty

raw
1 %%
2 %% This is file `nohyperref.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% hyperref.dtx (with options: `nohyperref')
8 %%
9 %% Copyright
10 %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek
11 %% 2001-2015 Heiko Oberdiek
12 %% 2016-2019 Oberdiek Package Support Group
13 %% 2019-2026 LaTeX Project
14 %% https://github.com/latex3/hyperref/issues
15 %%
16 %% This file is part of the `Hyperref Bundle'.
17 %% -------------------------------------------
18 %%
19 %% This work may be distributed and/or modified under the
20 %% conditions of the LaTeX Project Public License, either version 1.3
21 %% of this license or (at your option) any later version.
22 %% The latest version of this license is in
23 %% http://www.latex-project.org/lppl.txt
24 %% and version 1.3 or later is part of all distributions of LaTeX
25 %% version 2005/12/01 or later.
26 %%
27 %% This work has the LPPL maintenance status `maintained'.
28 %%
29 %% The Current Maintainer of this work is the LaTeX Project.
30 %%
31 %% The list of all files belonging to the `Hyperref Bundle' is
32 %% given in the file `manifest.txt'.
33 %%
34 %% File: hyperref.dtx
35 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
36 \ProvidesPackage{nohyperref}
37 [2026-04-24 v7.01q %
38 Dummy hyperref (SR)]
39 \let\hyper@@anchor\@gobble
40 \def\hyper@link#1#2#3{#3}%
41 \let\hyper@anchorstart\@gobble
42 \let\hyper@anchorend\@empty
43 \let\hyper@linkstart\@gobbletwo
44 \let\hyper@linkend\@empty
45 \def\hyper@linkurl#1#2{#1}%
46 \def\hyper@linkfile#1#2#3{#1}%
47 \def\hyper@link@[#1]#2#3{}%
48 \let\PDF@SetupDoc\@empty
49 \let\PDF@FinishDoc\@empty
50 \def\nohyperpage#1{#1}
51 \def\Acrobatmenu#1#2{\leavevmode#2}
52 \let\pdfstringdefDisableCommands\@gobbletwo
53 \let\texorpdfstring\@firstoftwo
54 \let\pdfbookmark\@undefined
55 \newcommand\pdfbookmark[3][]{}
56 \let\phantomsection\@empty
57 \let\hypersetup\@gobble
58 \let\hyperbaseurl\@gobble
59 \newcommand*{\href}[3][]{#3}
60 \let\hyperdef\@gobbletwo
61 \let\hyperlink\@gobble
62 \let\hypertarget\@gobble
63 \protected\def\hyperref{%
64 \@ifnextchar[\@gobbleopt{\expandafter\@gobbletwo\@gobble}%
65 }
66 \long\def\@gobbleopt[#1]{}
67 \let\hyperpage\@empty
68 \endinput
69 %%
70 %% End of file `nohyperref.sty'.