diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/backref.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/backref.sty | 48 |
1 files changed, 46 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/backref.sty b/Master/texmf-dist/tex/latex/hyperref/backref.sty index 97680806677..41ad496ad83 100644 --- a/Master/texmf-dist/tex/latex/hyperref/backref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/backref.sty @@ -6,7 +6,7 @@ %% %% backref.dtx (with options: `package') %% -%% File: backref.dtx Copyright (C) 1995-2005 David Carlisle, Sebastian Rahtz, Heiko Oberdiek +%% File: backref.dtx Copyright (C) 1995-2009 David Carlisle, Sebastian Rahtz, Heiko Oberdiek %% This file is part of the `Hyperref Bundle'. %% ------------------------------------------- %% @@ -21,7 +21,7 @@ %% given in the file `manifest.txt'. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{backref} - [2006/09/05 v1.28 Bibliographical back referencing]% + [2009/11/14 v1.29 Bibliographical back referencing]% \newif\ifBR@verbose \@ifundefined{ifHy@verbose}{% \BR@verbosefalse @@ -318,6 +318,50 @@ \fi \@esphack } +\RequirePackage{pdftexcmds}[2009/04/10] +\begingroup + \xdef\BR@CheckSumBefore{% + \@ifundefined{pdf@filemdfivesum}{}{% + \pdf@filemdfivesum{\jobname.brf}% + }% + :% + \@ifundefined{pdf@filesize}{}{% + \pdf@filesize{\jobname.brf}% + }% + }% +\endgroup +\AtBeginDocument{% + \AtEndDocument{% + \clearpage + \if@filesw + \immediate\write\@mainaux{% + \string\csname\space BR@CheckEnd\string\endcsname + }% + \fi + }% + \def\BR@CheckEnd{% + \begingroup + \@ifundefined{tf@brf@open}{}{% + \immediate\closeout\tf@brf + }% + \edef\BR@CheckSumAfter{% + \@ifundefined{pdf@filemdfivesum}{}{% + \pdf@filemdfivesum{\jobname.brf}% + }% + :% + \@ifundefined{pdf@filesize}{}{% + \pdf@filesize{\jobname.brf}% + }% + }% + \ifx\BR@CheckSumBefore\BR@CheckSumAfter + \else + \PackageWarningNoLine{backref}{% + Rerun to get bibliographical references right% + }% + \fi + \endgroup + }% +} \endinput %% %% End of file `backref.sty'. |