Bibtex 错误消息

Bibtex 错误消息

我是 Latex 新手,在 Latex 文档中创建参考书目时遇到了一些麻烦。为了测试它,我使用以下代码创建了一个新文档

\documentclass[10pt]{article}
\begin{document}
Article \cite{greenwade93} and \cite{DrineasPetros2016Rrnl}
\bibliographystyle{plain}
\bibliography{mybib}
\end{document}

这是我的 bib 文件:

@article{greenwade93,
    author  = "George D. Greenwade",
    title   = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",    
year    = "1993",
journal = "TUGBoat",
volume  = "14",
number  = "3",
pages   = "342--351"
}

@article{DrineasPetros2016Rrnl,
issn = "0001-0782",
abstract = "<p><p>Randomization offers new benefits for large-scale linear 
algebra computations.</p></p>",
journal = "Communications of the ACM",
pages = "80--90",
volume = "59",
publisher = "ACM",
number = "6",
year = "2016",
title = "RandNLA: randomized numerical linear algebra",
language = "eng",
author = "Drineas, Petros and Mahoney, Michael",
keywords = "Engineering ; Computer Science ; Mathematics",
month = "May",
}

这完美地运行并且完全按照我的要求进行,但是如果我将完全相同的代码放入我正在处理的文档中,则 bibtex 运行时会引发错误。

错误信息

如果你能帮我找出问题所在,我将不胜感激。谢谢

答案1

你展示

\bibliographystyle{plain}

但错误信息是关于apalike这表明你有

\bibliography{apalike}

在您的文档的某个较早位置。

相关内容