I encountered an issue when using the backref=page
option of the hyperref package together with the natbib package with the options square,sort&compress,numbers
.
If the natbib package compresses a range of references, the middle references does not show the backreference after compiling (latex,bibtex,latex,latex).
See the following short example:
\documentclass{article}
\usepackage[square,sort&compress,numbers]{natbib}
\usepackage[backref=page]{hyperref}
\begin{document}
\cite{foo,bar,hole}
\begin{thebibliography}{ab}
\bibitem{foo} foo
\bibitem{bar} bar
\bibitem{hole} hole
\end{thebibliography}
\end{document}
Best Answer
Make the following patch to natbib.sty:
I have reported this to the authors of hyperref and natbib. Heiko (author of hyperref) wants this to be fixed in natbib, because this is too deeply buried in the natbib code for him to feel comfortable patching it. Patrick (author of natbib) has not responded to my emails....