首先,最小工作样本如下。
\documentclass{book}
\usepackage{hyperref}
\usepackage[style=authoryear, backref=true]{biblatex}
\addbibresource{\jobname.bib}
\begin{filecontents*}[overwrite]{\jobname.bib}
@book{somebook1769,
location = {Place},
author = {Name, Given},
title = {Some title of this publication},
date = {1769},
}
@book{somebook1889,
location = {Paris},
author = {Name, Given},
title = {Some title of this publication},
date = {1889},
}
\end{filecontents*}
\begin{document}
\pagestyle{empty}
\begin{center}
{\huge An Example}
\end{center}
\frontmatter
\pagestyle{plain}
\tableofcontents
\mainmatter
\chapter{A test}
some quote from \cite[1348--1368]{somebook1769} and \cite{somebook1889}
\printbibliography
\end{document}
如你所见,在参考书目列表中,反向引用的页码是正确的,但是超链接是错误的,因为它链接到正文之前的页面。有什么办法可以解决这个问题吗?
答案1
在我看来,卷首插图应该参与前言的页码编排。
如果您不愿意,请\pagenumbering{Alph}
在开始时发出,这样就不会有重复的页码。
\begin{filecontents*}[overwrite]{\jobname.bib}
@book{somebook1769,
location = {Place},
author = {Name, Given},
title = {Some title of this publication},
date = {1769},
}
@book{somebook1889,
location = {Paris},
author = {Name, Given},
title = {Some title of this publication},
date = {1889},
}
\end{filecontents*}
\documentclass{book}
\usepackage[style=authoryear, backref=true]{biblatex}
\usepackage{hyperref}
\addbibresource{\jobname.bib}
\begin{document}
\pagenumbering{Alph}
\pagestyle{empty}
\begin{center}
\huge An Example
\end{center}
\frontmatter
\pagestyle{plain}
\tableofcontents
\mainmatter
\chapter{A test}
some quote from \cite[1348--1368]{somebook1769} and \cite{somebook1889}
\printbibliography
\end{document}