TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the hyperref package (v6.82m) with MiKTeX 2.9. I am using the option pagebackref so as to obtain a bibliography with links to the pages where the references are cited. I am also using the option hypertexnames=false because a comment in this question says that it is more robust. Although links in the bibliography show the right page numbers, they point to wrong pages (correct page minus 2). Other page links within the document are ok. I think this is related to the fact that the \titlepage I am using resets page numbers (I have another page before the \titlepage). However, changing \pagenumbering before and after \titlepage does not solve the problem. If I suppress the hypertexnames=false option, the problem disappears. Why is this happening? Is this a bug in the backref package?


% wrong links in bib
\usepackage[pagebackref, hypertexnames=false]{hyperref}

% right links in bib

     Some stuff to mess things up a bit more.
          Title page
     This is page 1 \cite{X}.
     This is page 2 \cite{X}.


     Very important paper.

share|improve this question

closed as too localized by egreg, Roelof Spijker, Joseph Wright Apr 14 '12 at 21:44

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.SE! A suggestion and a comment. First, it would be helpful if you provided a Minimum Working Example (MWE) of the code that is giving you trouble. Relatedly, it would be helpful if you indicated which TeX distribution you use. Second, the question/answer you link to in your question is well over a year old by now; fortunately, the hyperref and backref packages have gone through several updates/improvements/bug fix cycles in the meantime, and hence the advice that was valid back then may no longer be applicable as of now. Which version of the hyperref package do you use? – Mico Dec 22 '11 at 15:10
hyperref version is v6.82m. I will try to produce a MWE. I think that even the cited question is old, the links to pages in the bibliography should work fine with both hypertexnames=true and hypertexnames=false. – ASdeL Dec 22 '11 at 15:17