From 5b3df0d3745a0955e550d4103228cf8d52a73241 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 5 Nov 2007 00:06:38 +0000
Subject: hyperref update (3nov07)

git-svn-id: svn://tug.org/texlive/trunk@5345 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/hyperref/backref.sty | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/hyperref/backref.sty')

diff --git a/Master/texmf-dist/tex/latex/hyperref/backref.sty b/Master/texmf-dist/tex/latex/hyperref/backref.sty
index affd2410cab..97680806677 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}
-  [2006/10/06 v1.27 Bibliographical back referencing]%
+  [2006/09/05 v1.28 Bibliographical back referencing]%
 \newif\ifBR@verbose
 \@ifundefined{ifHy@verbose}{%
   \BR@verbosefalse
@@ -258,7 +258,7 @@
   \let\bibitem\BR@bibitem
   \let\BRorg@thebibliography\thebibliography
   \def\thebibliography{%
-    \@starttoc{brf}{}%
+    \BR@starttoc
     \BRorg@thebibliography
   }%
   \@ifundefined{NAT@parse}{%
@@ -271,6 +271,22 @@
     \PackageInfo{backref}{** backref set up for natbib **}%
   }%
 }
+\def\BR@starttoc{%
+  \begingroup
+    \makeatletter
+    \@input{\jobname.brf}%
+    \if@filesw
+      \@ifundefined{tf@brf}{%
+        \expandafter\newwrite\csname tf@brf\endcsname
+      }{}%
+      \@ifundefined{tf@brf@open}{%
+        \immediate\openout\csname tf@brf\endcsname\jobname.brf\relax
+        \gdef\tf@brf@open{}%
+      }{}%
+    \fi
+    \@nobreakfalse
+  \endgroup
+}
 \def\BR@citex[#1]#2{%
   \BRorg@citex[{#1}]{#2}%
   \ifBR@verbose
-- 
cgit v1.2.3

