From b6f3ec13279685cdf24a94cec5ad200127a2c595 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 22 Feb 2022 21:08:35 +0000 Subject: hyperref (22feb22) git-svn-id: svn://tug.org/texlive/trunk@62142 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/hyperref/hyperref-patches.sty | 131 +++++++++++++++++++++ 1 file changed, 131 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty (limited to 'Master/texmf-dist/tex/latex/hyperref/hyperref-patches.sty') 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'. -- cgit v1.2.3