From 01aade3322bbb50b565fbb94ed1bade7a0726478 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 11 Dec 2009 01:05:57 +0000
Subject: hyperref update (10dec09)

git-svn-id: svn://tug.org/texlive/trunk@16351 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/source/latex/hyperref/backref.dtx   | 56 ++++++++++------------
 1 file changed, 25 insertions(+), 31 deletions(-)

(limited to 'Master/texmf-dist/source/latex/hyperref/backref.dtx')

diff --git a/Master/texmf-dist/source/latex/hyperref/backref.dtx b/Master/texmf-dist/source/latex/hyperref/backref.dtx
index 8a24e6d27dd..03ab5294d44 100644
--- a/Master/texmf-dist/source/latex/hyperref/backref.dtx
+++ b/Master/texmf-dist/source/latex/hyperref/backref.dtx
@@ -22,9 +22,9 @@
 %<driver>\ProvidesFile{backref.drv}
 % \fi
 % \ProvidesFile{backref.dtx}
-  [2009/11/14 v1.29 Bibliographical back referencing]%
+  [2009/12/09 v1.30 Bibliographical back referencing]%
 %
-% \CheckSum{620}
+% \CheckSum{610}
 %
 % \iffalse
 %<*driver>
@@ -712,40 +712,34 @@
     }%
   }%
 \endgroup
-\AtBeginDocument{%
-  \AtEndDocument{%
-    \clearpage
-    \if@filesw
-      \immediate\write\@mainaux{%
-        \string\csname\space BR@CheckEnd\string\endcsname
-      }%
-    \fi
-  }%
 %    \end{macrocode}
 %    \begin{macro}{\BR@CheckEnd}
 %    \begin{macrocode}
-  \def\BR@CheckEnd{%
-    \begingroup
-      \@ifundefined{tf@brf@open}{}{%
-        \immediate\closeout\tf@brf
+\def\BR@CheckEnd{%
+  \begingroup
+    \@ifundefined{tf@brf@open}{}{%
+      \immediate\closeout\tf@brf
+    }%
+    \edef\BR@CheckSumAfter{%
+      \@ifundefined{pdf@filemdfivesum}{}{%
+        \pdf@filemdfivesum{\jobname.brf}%
       }%
-      \edef\BR@CheckSumAfter{%
-        \@ifundefined{pdf@filemdfivesum}{}{%
-          \pdf@filemdfivesum{\jobname.brf}%
-        }%
-        :%
-        \@ifundefined{pdf@filesize}{}{%
-          \pdf@filesize{\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
-  }%
+    }%
+    \ifx\BR@CheckSumBefore\BR@CheckSumAfter
+    \else
+      \PackageWarningNoLine{backref}{%
+        Rerun to get bibliographical references right%
+      }%
+    \fi
+  \endgroup
+}%
+\RequirePackage{atveryend}[2009/12/07]
+\AtVeryEndDocument{%
+  \BR@CheckEnd
 }
 %    \end{macrocode}
 %    \end{macro}
-- 
cgit v1.2.3

