引用 undefined Latex

引用 undefined Latex

我在编译文档时收到引用未定义错误。`main.tex`` 文档包含(除其他内容外)以下代码:

\documentclass[a4paper,12pt]{report} 
\usepackage[utf8]{inputenc}
\usepackage{apacite}
...
\begin{document}
...
\include{02-chapter}
...
\bibliographystyle{apacite}
\bibliography{references.bib}
\end{document}

Chapter02 包含几个参考资料。例如:\citeA{mortimer2015development}

我的参考资料数据库references.bib包含以下内容:

@Article{mortimer2015development, 
title={Development and validation of the Self-Gifting Consumer Behaviour scale},
author={Mortimer, Gary and Bougoure, Ursula Sigrid and Fazal-E-Hasan, Syed},
journal={Journal of Consumer Behaviour},
year={2015},
volume={14},
number={3},
pages={165--179},
publisher={Wiley Online Library}
}

当我编译我的main.tex filelatex > bibtex > latex > latex)时出现错误:

引用“mortimer2015development”未定义。这给了我一个 PDF 输出?(?)。

我正在使用 Texmaker 开发 Macbook。

我该如何解决这个问题?

相关内容