我正在尝试生成 IEEE 类型的参考文献。您能告诉我为什么我在 PDF 文件中看不到参考文献吗?
\documentclass{IEEEtran}
\usepackage{filecontents}
\usepackage{lipsum}
\begin{filecontents*}{testing.bib}
@article{doran2014detection,
title="{Detection, Classification, and Workload Analysis of Web Robots}",
author="Doran, Derek",
year="2014"
}
\end{filecontents*}
\title{IEEE article}
\author{Nilani A}
\begin{document}\maketitle
\lipsum[1]See \cite{doran2014detection} for more info
\bibliographystyle{ieeetran}
\bibliography{testing}
\end{document}
以下是我的 PDF 文件
答案1
指令
\bibliographystyle{ieeetran}
有故障。应该
\bibliographystyle{IEEEtran}
这是一个 MWE(最小工作示例):
\RequirePackage{filecontents}
\begin{filecontents*}{testing.bib}
@misc{doran2014detection,
title = "Detection, Classification, and Workload
Analysis of Web Robots",
author = "Doran, Derek",
year = "2014",
}
\end{filecontents*}
\documentclass{IEEEtran}
\bibliographystyle{IEEEtran} % <-- not "ieeetran"
\title{IEEE article}
\author{Nilani A}
\begin{document}
\maketitle
See \cite{doran2014detection} for more info.
\bibliography{testing}
\end{document}