当单击脚注中的链接时,该链接应跳转到来源的首次出现,但却跳转到文档的第一页。
我目前拥有的:
。围兜:
@inbook{HighfieldPosition_FourViews,
author = {Highfield, R. },
title = {God Controls by Liberating},
pages = {141--164},
year = 2011,
crossref = "fourviewsdivineprovidence"
}
@inbook{CraigPosition_FourViews,
author = {Craig, William Lane},
title = {Response to Ron Highfield},
pages = {165--175},
year = 2011,
crossref = "fourviewsdivineprovidence"
}
@book{fourviewsdivineprovidence,
booktitle={Four Views on Divine Providence},
author={Craig, W.L. and Highfield, R. and Boyd, G.A. and Helseth, P.K. and Jowers, D. and Gundry, S.N.},
series={Counterpoints: Bible and Theology},
year={2011},
publisher={Zondervan}
}
然后在文本中:
blabla \autocite[143]{HighfieldPosition_FourViews}.
\end{quotation} blabla \autocite[175]{CraigPosition_FourViews}
编译时警告
pdfTeX 警告(目标):名称{cite.0:fourviewsdivineprovidence} 已被引用但不存在,已由固定名称替换
输出看起来不错,但链接错误。蓝色的“cit”跳转到页面“i”:
我该怎么做才能获得蓝色链接中的正确页面?
编辑:
这是一个完整的例子
\documentclass[a4paper, 11pt, oneside]{article}
\usepackage[english]{babel}
\usepackage{csquotes}%
\usepackage[backend=biber,style=philosophy-verbose]{biblatex}
% http://tex.stackexchange.com/a/58040/25029
\renewbibmacro*{cite}{%
\usebibmacro{cite:citepages}%
\global\togglefalse{cbx:fullcite}%
\global\togglefalse{cbx:loccit}%
\bibhypertarget{cite\the\value{instcount}}{%
\ifciteseen
{\iffieldundef{shorthand}
{\iffirstonpage% NEW
{\usebibmacro{cite:name}% NEW
\usebibmacro{cite:title}}% NEW
{\ifciteibid
{\usebibmacro{cite:ibid}}
{\ifthenelse{\ifciteidem\AND\NOT\boolean{cbx:noidem}}
{\usebibmacro{cite:idem}}
{\usebibmacro{cite:name}}%
\usebibmacro{cite:title}}%
% \usebibmacro{cite:save}}% DELETED
\usebibmacro{cite:save}}}% NEW
{\usebibmacro{cite:shorthand}}}
{\usebibmacro{cite:full}%
\usebibmacro{cite:save}}}}
\addbibresource{Bibliography.bib}% Syntax for version >= 1.2
% LAST PACKAGE == HYPERREF
% http://tex.stackexchange.com/a/16269/25029
\usepackage{hyperref}
\hypersetup{urlcolor=blue, colorlinks=true} % Colours hyperlinks in blue, but this can be distracting if there are many links.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\newpage
asdasd
\newpage
xxxxxxxxxxxxxxxxxxx\autocite[143]{HighfieldPosition_FourViews}
\newpage
asdasd
yyyyyyyyyyy\autocite[175]{CraigPosition_FourViews}zzzzzzz
\newpage
%% ----------------------------------------------------------------
\label{Bibliography}
\printbibliography[]
\end{document}