You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
2.3 KiB
79 lines
2.3 KiB
%%
|
|
%% This is file `nohyperref.sty',
|
|
%% generated with the docstrip utility.
|
|
%%
|
|
%% The original source files were:
|
|
%%
|
|
%% 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-2020 LaTeX3 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.
|
|
%% The latest version of this license is in
|
|
%% 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 LaTeX3 Project.
|
|
%%
|
|
%% The list of all files belonging to the `Hyperref Bundle' is
|
|
%% given in the file `manifest.txt'.
|
|
%%
|
|
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
|
|
\ProvidesPackage{nohyperref}
|
|
[2020-05-15 v7.00e %
|
|
Dummy hyperref (SR)]
|
|
\RequirePackage{letltxmacro}[2008/06/13]
|
|
\let\hyper@@anchor\@gobble
|
|
\def\hyper@link#1#2#3{#3}%
|
|
\let\hyper@anchorstart\@gobble
|
|
\let\hyper@anchorend\@empty
|
|
\let\hyper@linkstart\@gobbletwo
|
|
\let\hyper@linkend\@empty
|
|
\def\hyper@linkurl#1#2{#1}%
|
|
\def\hyper@linkfile#1#2#3{#1}%
|
|
\def\hyper@link@[#1]#2#3{}%
|
|
\let\PDF@SetupDoc\@empty
|
|
\let\PDF@FinishDoc\@empty
|
|
\def\nohyperpage#1{#1}
|
|
\def\Acrobatmenu#1#2{\leavevmode#2}
|
|
\let\pdfstringdefDisableCommands\@gobbletwo
|
|
\let\texorpdfstring\@firstoftwo
|
|
\let\pdfbookmark\@undefined
|
|
\newcommand\pdfbookmark[3][]{}
|
|
\let\phantomsection\@empty
|
|
\let\hypersetup\@gobble
|
|
\let\hyperbaseurl\@gobble
|
|
\newcommand*{\href}[3][]{#3}
|
|
\let\hyperdef\@gobbletwo
|
|
\let\hyperlink\@gobble
|
|
\let\hypertarget\@gobble
|
|
\def\hyperref{%
|
|
\@ifnextchar[\@gobbleopt{\expandafter\@gobbletwo\@gobble}%
|
|
}
|
|
\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
|
|
}
|
|
\endinput
|
|
%%
|
|
%% End of file `nohyperref.sty'.
|
|
|