I use biber
with backref
, but backref
points to a wrong page. Option backref
always gets it one page wrong.
Why does it so and how can I solve the problem?
Here's what might be related to the problem:
\usepackage[backend=biber,backref,style=authoryear,isbn=false,dashed=true]{biblatex}
\usepackage[%
colorlinks,urlcolor = black,pdfpagelabels,pdfstartview = FitH,
bookmarksopen = true,bookmarksnumbered = true,linkcolor = black,
plainpages = false,hypertexnames = false,citecolor = black
]{hyperref}
\thispagestyle{empty}
\tableofcontents
\clearpage
%start counting afresh after toc
\setcounter{page}{2}
Best Answer
This does not answer why
backref
refers to the wrong page, but it could be a solution to your problem nevertheless.Do not reset the page counter manually but use different page numberings:
\pagenumbering{roman}
(orRoman
oralph
orAlph
) for the frontmatter, possibly with a pagestyle not printing the page number at all if you do not like it. (You already use\thispagestyle{empty}
,\pagestyle{empty}
could be used.)\pagenumbering{arabic}
after the\clearpage
(for two-sided documents:cleardoublepage
) for the mainmatterGive the option
plainpages=false
to thehyperref
package, so thathyperref
treats for example pageii
and2
as different pages. (You already did this in your example, I just wanted to explicitly mention it for possible other users faced with a similar problem.)When you use in Adobe Reader
Edit > Preferences > Page Display > Page Content and Information > Use logical page numbers
(or the equivalent in your preferred PDF viewer), it will show the page "name" and the number of the page. For example with 10 pages with names i to x in the frontmatter, page "5" is the 15th page and the reader shows "5 (15 of ...)", where "..." is the total number of pages. This also has the advantage that entering "5" there indeed takes you to the page named "5" and not to the fifth page (named "v").