使用 LaTeX 和 bibtex 的 apacite 清空文内引用

使用 LaTeX 和 bibtex 的 apacite 清空文内引用

我对 Latex 还比较陌生,希望能够很好地解释这个问题。我正在使用 overleaf,并希望使用apa引用样式。我加载了apacite它并将其指定为参考书目。此外,apacite.bst我的目录中有该文件,并且我的文件中.bib包含所需的参考资料。当我编译我的文本时,我得到了一个完整且准确的参考列表。但是,在文本中得到的是空括号,仅包含一个分隔逗号。

我找不到解决方案。

提前感谢你的帮助!

我的文本在编译之前看起来像这样:

\section*{Introduction} 
We rarely make decisions in social isolation and many decisions we make occur in a social context \cite{mannes2012social, sniezek1995cueing}. Especially in current day and age, with the ever increasing use of social media to share and propagate information, decisions are continuously shaped by our (virtual) social surroundings. While taking advice from others can be a beneficial strategy to increase accuracy in one’s judgments \cite{davis-stober2014,surowiecki2005wisdom}, the benefits of advice taking strongly depend on what and how advice is incorporated \cite{mahmoodi2015equality,toyokawa2019}.

答案1

我可以提供一段您应该能够编译的小代码。使用biblatexbiber。如果您的系统配置为这样做,我将编译几次,或者手动执行。检查日志biber.blg确保一切正常。

然后与您的设置进行比较,看看是否缺少什么。

\documentclass[12pt, a4paper]{article}
\usepackage[english]{babel} 

\usepackage[%
backend=biber,
natbib=true,
style=apa,
]{biblatex} 

\begin{filecontents*}{\jobname34.bib}   
@article{Carlson2011, 
author = {Carlson, Nicholas},
booktitle = {Businessinsider.com},
title = {{How Many Users Does Twitter REALLY Have?}},
note = {Available online at  \url{www.businessinsider.com/chart-of-the-day-how-many-users-does-twitter-really-have-2011-31/3}},
year = {2011},
}   

@book{companion94,
author       = {Goossens, Michel and Mittelbach, Frank and Samarin, Alexander},
title        = {The \LaTeX\ {Companion}},
year         = {1994},
edition      = 1,
publisher    = {Addison-Wesley},
location     = {Reading, Mass.},
pagetotal    = 528,
}

\end{filecontents*}

\addbibresource{\jobname34.bib}

\begin{document}    
    
\section*{Introduction} 
We rarely make decisions in social isolation and many decisions we make occur in a social context \citep{Carlson2011, companion94}.

\printbibliography
\end{document}

输出2

相关内容