From c2256e173cd40281dedfc4f0c8a857b838e07a0a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 23 Jun 2014 23:28:40 +0000 Subject: hypdvips (23jun14) git-svn-id: svn://tug.org/texlive/trunk@34364 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty | 77 +++++++++++------------ 1 file changed, 38 insertions(+), 39 deletions(-) (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty b/Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty index f923e676594..921afc58cd2 100644 --- a/Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty +++ b/Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty @@ -22,7 +22,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{hypdvips} - [2014/03/31 v3.01 + [2014/06/22 v3.02 Hyperref extensions for use with dvips] \@ifpackageloaded{hyperref} { @@ -3167,36 +3167,6 @@ \def\HyPL@SetPageLabels{} \fi -\ifpp@lofbr -\else - \let\pp@backup@listoffigures\listoffigures% - \renewcommand{\listoffigures}{% - \backrefsetup{disable}% - \pp@backup@listoffigures% - \backrefsetup{enable}% - } -\fi - -\ifpp@lotbr -\else - \let\pp@backup@listoftables\listoftables% - \renewcommand{\listoftables}{% - \backrefsetup{disable}% - \pp@backup@listoftables% - \backrefsetup{enable}% - } -\fi - -\ifpp@tocbr -\else - \let\pp@backup@tableofcontents\tableofcontents% - \renewcommand{\tableofcontents}{% - \backrefsetup{disable}% - \pp@backup@tableofcontents% - \backrefsetup{enable}% - } -\fi - \@ifpackageloaded{subfigure}{% \newcounter{pp@subcaptioncounter} \renewcommand*{\@listsubcaptions}[1]{% @@ -3452,14 +3422,43 @@ \@starttoc{loa}% } -\ifpp@loabr -\else - \let\pp@backup@listofattachments\listofattachments% - \renewcommand{\listofattachments}{% - \backrefsetup{disable}% - \pp@backup@listofattachments% - \backrefsetup{enable}% - } +\ifHy@backref + \ifpp@loabr + \else + \let\pp@backup@listofattachments\listofattachments% + \renewcommand{\listofattachments}{% + \backrefsetup{disable}% + \pp@backup@listofattachments% + \backrefsetup{enable}% + } + \fi + \ifpp@lofbr + \else + \let\pp@backup@listoffigures\listoffigures% + \renewcommand{\listoffigures}{% + \backrefsetup{disable}% + \pp@backup@listoffigures% + \backrefsetup{enable}% + } + \fi + \ifpp@lotbr + \else + \let\pp@backup@listoftables\listoftables% + \renewcommand{\listoftables}{% + \backrefsetup{disable}% + \pp@backup@listoftables% + \backrefsetup{enable}% + } + \fi + \ifpp@tocbr + \else + \let\pp@backup@tableofcontents\tableofcontents% + \renewcommand{\tableofcontents}{% + \backrefsetup{disable}% + \pp@backup@tableofcontents% + \backrefsetup{enable}% + } + \fi \fi \newcommand{\pp@jsbutton}[3]{% arguments: {caption}{color}{code} -- cgit v1.2.3