我的文档有问题。当我编译 PDF 时,Overleaf 说我的文档中的每个引用都有以下错误:
@@cite 的参数有一个额外的 }。失控参数?
有时 Overleaf 还会说
未定义控制序列。
引用确实有效,但在 PDF 文档中,它们破坏了图片的标题和图片列表 - 图片列表中不显示标题,而是显示页面和一些随机数字。引用是由 Jabref 制作的。它们不是手动创建的。
\documentclass[a4paper,11pt]{article}
\usepackage[a4paper, left=4cm, right=3cm, top=2.5cm, bottom=2.5cm]{geometry}
\usepackage[utf8]{inputenc}
% \usepackage{biblatex}
\usepackage{lmodern}
\usepackage{apacite}
\usepackage{titlesec}
\usepackage{dirtytalk}
\usepackage{makecell}
\usepackage{multirow}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{threeparttable}
\usepackage{csquotes}
\usepackage[ngerman]{babel}
\linespread{1.5} % Zeilenabstand
\usepackage{tabularx}
\usepackage{tabulary}
\usepackage{array}
\usepackage{acronym}
\usepackage[extendedfeature=title]{scrextend}
\usepackage{pdfpages}
\usepackage{pdflscape}
\usepackage{booktabs}
\usepackage{subcaption}
\usepackage{inputenc}
\usepackage{amsmath}
\usepackage{listings}
\usepackage{placeins}
\usepackage{glossaries}
\usepackage{xcolor}
\usepackage{url}
\lstset{language=c++,
frame=top, frame=bottom,
basicstyle=\ttfamily\footnotesize,
tabsize = 4,
showstringspaces = false,
keywordstyle =\color{dkblue},
stringstyle = \color{red},
commentstyle = \color{dkgreen}
}
\usepackage[colorlinks,
pdfpagelabels,
pdfstartview = FitH,
bookmarksopen = true,
bookmarksnumbered = true,
linkcolor = darkgray,
urlcolor = blue,
plainpages = false,
hypertexnames = false,
citecolor = blue] {hyperref}
\begin{document}
\section{example}
.....some example text\cite{deterding}.
\bibliographystyle{apacite}
\bibliography{bachelor.bib}
\appendix
\end{document}
And here is the entry in the bib-file:
@Article{deterding,
author = {Sebastian Deterding, Dan Dixon},
title = {{From Game Design Elements to Gamefulness: Defining Gamification}},
year = {2011},
}
我希望这个例子能有所帮助。有人知道是什么导致了这个内部错误吗?