summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-22 21:08:35 +0000
committerKarl Berry <karl@freefriends.org>2022-02-22 21:08:35 +0000
commitb6f3ec13279685cdf24a94cec5ad200127a2c595 (patch)
tree2a269d1887c95ee8cdbb7e2aad37e15065219e57 /Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty
parent9d5158d37d74f6401908f8be395bc955664b3f39 (diff)
hyperref (22feb22)
git-svn-id: svn://tug.org/texlive/trunk@62142 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty131
1 files changed, 131 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty
new file mode 100644
index 00000000000..0e4ff5edaf3
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty
@@ -0,0 +1,131 @@
+%%
+%% This is file `hyperref-patches.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% hyperref-patches.dtx (with options: `package')
+%%
+%% File: hyperref-patches.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
+%% 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 LaTeX Project.
+%%
+%% The list of all files belonging to the `Hyperref Bundle' is
+%% given in the file `manifest.txt'.
+
+\ProvidesPackage{hyperref-patches}[2021-06-29 v0.9 old hyperref patches]
+\newif\ifHy@patches@foiltex
+\Hy@patches@foiltextrue
+\DeclareOption{nofoiltex}{\Hy@patches@foiltexfalse}
+\newif\ifHy@patches@listing
+\Hy@patches@listingtrue
+\DeclareOption{nolisting}{\Hy@patches@listingfalse}
+\newif\ifHy@patches@listings
+\Hy@patches@listingstrue
+\DeclareOption{nolistings}{\Hy@patches@listingsfalse}
+\newif\ifHy@patches@revtex
+\Hy@patches@revtextrue
+\DeclareOption{norevtex}{\Hy@patches@revtexfalse}
+\ProcessOptions
+\ifHy@patches@foiltex
+\@ifclassloaded{foils}{%
+ \providecommand*\ext@table{lot}%
+ \providecommand*\ext@figure{lof}%
+}{}
+\fi
+\ifHy@patches@listing
+\@ifpackageloaded{listing}{%
+ \providecommand*\theHlisting{\thelisting}%
+ \providecommand*\toclevel@listing{0}%
+}{}
+\fi
+\ifHy@patches@listings
+\@ifpackageloaded{listings}{%
+ \providecommand*\theHlstlisting{\thelstlisting}%
+ \providecommand*\toclevel@lstlisting{0}%
+}{}
+\fi
+\ifHy@patches@revtex
+\@ifclassloaded{revtex}{%
+ \Hy@Info{*** compatibility with revtex **** }%
+ \def\revtex@checking#1#2{%
+ \expandafter\let\expandafter\T@temp\csname b@#1\endcsname
+ \expandafter\def\csname b@#1\endcsname{#2}%
+ \@SetMaxRnhefLabel{#1}%
+ \expandafter\let\csname b@#1\endcsname\T@temp
+ }%
+ \@ifundefined{@CITE}{\def\@CITE{\@cite}}{}%
+ \providecommand*{\@extra@b@citeb}{}%
+ \def\@CITEX[#1]#2{%
+ \let\@citea\@empty
+ \leavevmode
+ \unskip
+ $^{%
+ \scriptstyle
+ \@CITE{%
+ \@for\@citeb:=#2\do{%
+ \@citea
+ \def\@citea{,\penalty\@m\ }%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \if@filesw
+ \immediate\write\@auxout{\string\citation{\@citeb}}%
+ \fi
+ \@ifundefined{b@\@citeb\extra@b@citeb}{%
+ \mbox{\reset@font\bfseries ?}%
+ \G@refundefinedtrue
+ \@latex@warning{%
+ Citation `\@citeb' on page \thepage \space undefined%
+ }%
+ }{%
+ {\csname b@\@citeb\@extra@b@citeb\endcsname}%
+ }%
+ }%
+ }{#1}%
+ }$%
+ }%
+ \def\@citex[#1]#2{%
+ \let\@citea\@empty
+ \@cite{%
+ \@for\@citeb:=#2\do{%
+ \@citea
+ \def\@citea{,\penalty\@m\ }%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \if@filesw
+ \immediate\write\@auxout{\string\citation{\@citeb}}%
+ \fi
+ \@ifundefined{b@\@citeb\@extra@b@citeb}{%
+ \mbox{\reset@font\bfseries ?}%
+ \G@refundefinedtrue
+ \@latex@warning{%
+ Citation `\@citeb' on page \thepage \space undefined%
+ }%
+ }{%
+ \hbox{\csname b@\@citeb\@extra@b@citeb\endcsname}%
+ }%
+ }%
+ }{#1}%
+ }%
+}{}
+\fi
+\endinput
+%%
+%% End of file `hyperref-patches.sty'.