summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/backref.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/backref.sty')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/backref.sty52
1 files changed, 23 insertions, 29 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/backref.sty b/Master/texmf-dist/tex/latex/hyperref/backref.sty
index 41ad496ad83..d7e0219c138 100644
--- a/Master/texmf-dist/tex/latex/hyperref/backref.sty
+++ b/Master/texmf-dist/tex/latex/hyperref/backref.sty
@@ -21,7 +21,7 @@
%% given in the file `manifest.txt'.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{backref}
- [2009/11/14 v1.29 Bibliographical back referencing]%
+ [2009/12/09 v1.30 Bibliographical back referencing]%
\newif\ifBR@verbose
\@ifundefined{ifHy@verbose}{%
\BR@verbosefalse
@@ -330,37 +330,31 @@
}%
}%
\endgroup
-\AtBeginDocument{%
- \AtEndDocument{%
- \clearpage
- \if@filesw
- \immediate\write\@mainaux{%
- \string\csname\space BR@CheckEnd\string\endcsname
+\def\BR@CheckEnd{%
+ \begingroup
+ \@ifundefined{tf@brf@open}{}{%
+ \immediate\closeout\tf@brf
+ }%
+ \edef\BR@CheckSumAfter{%
+ \@ifundefined{pdf@filemdfivesum}{}{%
+ \pdf@filemdfivesum{\jobname.brf}%
}%
- \fi
- }%
- \def\BR@CheckEnd{%
- \begingroup
- \@ifundefined{tf@brf@open}{}{%
- \immediate\closeout\tf@brf
+ :%
+ \@ifundefined{pdf@filesize}{}{%
+ \pdf@filesize{\jobname.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%
}%
- \ifx\BR@CheckSumBefore\BR@CheckSumAfter
- \else
- \PackageWarningNoLine{backref}{%
- Rerun to get bibliographical references right%
- }%
- \fi
- \endgroup
- }%
+ \fi
+ \endgroup
+}%
+\RequirePackage{atveryend}[2009/12/07]
+\AtVeryEndDocument{%
+ \BR@CheckEnd
}
\endinput
%%