diff options
author | Karl Berry <karl@freefriends.org> | 2007-11-05 00:06:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-11-05 00:06:38 +0000 |
commit | 5b3df0d3745a0955e550d4103228cf8d52a73241 (patch) | |
tree | e9c84d96e4bf295935da473aada238ac0b164cae /Master/texmf-dist/tex/latex/hyperref/backref.sty | |
parent | 78bd6b24f3c38ea9be1371b6180fa90b76221e21 (diff) |
hyperref update (3nov07)
git-svn-id: svn://tug.org/texlive/trunk@5345 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/backref.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/backref.sty | 20 |
1 files changed, 18 insertions, 2 deletions
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 |