我相信我已经正确配置了所有内容(查看了其他问题)。我在命令中替换了bibtex %
并biber %
选择了 PdfLaTex + Bib(la)tex + PdfLaTex (x2) + View Pdf。最小工作示例如下:
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber,style=apa,natbib=true]{biblatex}
\addbibresource{Example.bib}
\begin{document}
\citet{Cocks2011} liked to play in the snow. The snow was rather cold \citep{Cocks2011}.
\printbibliography
\end{document}
参考书目示例:
@article{Cocks2011,
author = {Cocks, L. Robin M. and Torsvik, Trond H.},
doi = {10.1016/j.earscirev.2011.01.007},
issn = {00128252},
journal = {Earth-Science Reviews},
keywords = {Laurentia,Palaeozoic,palaeogeography},
number = {1-2},
pages = {1--51},
publisher = {Elsevier B.V.},
title = {{The Palaeozoic geography of Laurentia and western Laurussia: A stable craton with mobile margins}},
url = {http://linkinghub.elsevier.com/retrieve/pii/S001282521100016X},
volume = {106},
year = {2011}
}
运行 biber 然后运行 Quick Build 会产生以下错误:
! Package keyval Error: uniqueprimaryauthor undefined.See the keyval package documentation for explanation.Type H <return> for immediate help.... ... dateabbrev=false}