我意识到我的参考书目没有被纳入目录,我正在查看https://tex.stackexchange.com/a/325853/66353
然而,虽然包含该选项heading=bibintoc
产生\printbibliography
了效果,但在 PDF 中,链接指向上一节(第 317 页而不是第 319 页):
是否有任何选项可以将其正确包含在 PDF 中。我一直在尝试https://fr.sharelatex.com/learn/Bibliography_management_with_biblatex没有运气。具体来说,我打的电话是
\printbibliography[heading=bibintoc,title={References}]
请参阅以下主文件骨架的最低版本(仅包含相关库):
\documentclass[a4paper,12pt, oneside]{report}
\usepackage[style=apa, backend=biber, urldate=long, uniquename=false]{biblatex}
\DeclareLanguageMapping{british}{british-apa}
\usepackage[british]{babel}
\usepackage{hyperref}
\usepackage{lipsum}
\begin{document}
\begin{thebibliography}
% Fake bibliography
@article{bergquist2001power,
author = {Bergquist, Magnus and Ljungberg, Jan},
title = {{The power of gifts: organizing social relationships in open source communities}},
journal = {Information Systems Journal},
volume = {11},
number = {4},
publisher = {Blackwell Science Ltd},
issn = {1365-2575},
url = {http://dx.doi.org/10.1046/j.1365-2575.2001.00111.x},
doi = {10.1046/j.1365-2575.2001.00111.x},
pages = {305--320},
keywords = {Gift culture, open source, peer review},
year = {2001}
}
\end{thebibliography}
%% Print index
\newpage
\setcounter{tocdepth}{1}
\tableofcontents
\setcounter{tocdepth}{1} %to solve issue with appendixes affecting list of figs and tables
\newpage
\listoftables
\newpage
\listoffigures
%%%%%%%% CHAPTERS %%%%%%%%%%%%
\chapter{A}
\lipsum
\chapter{B}
\lipsum
\parencite{bergquist2001power}
\lipsum
\chapter{C}
\lipsum
%%%%%%%% END CHAPTERS %%%%%%%%%
%% Bibliography - define types and non-types to distinguish websites
\newpage
%% Added to include in ToC. Works in object, but not in PDF bookmark
\printbibliography[heading=bibintoc,title={References}]
\newpage
\end{document}
答案1
我觉得我搞清楚了这里的问题,需要添加一个\phantomsection
。因此,关于这部分的代码如下:
\newpage
\phantomsection
\printbibliography[heading=bibintoc,title={References}]