我想在 IEEE 会议论文中使用外部 bibdata 文件。该怎么做?以下代码不打印参考文献列表,也不在引用中显示参考文献数量。(我使用这个模板:http://www.ieee.org/conferences_events/conferences/publishing/templates.html)
%% bare_conf.tex
\documentclass[conference]{IEEEtran}
\begin{document}
\title{XXX}
\author{\IEEEauthorblockN{Lucas F. Lima}
\IEEEauthorblockA{Electrical Engineering Department\\
University of Brasilia - UnB\\
Brasilia, Brazil, Campus Darci Ribeiro\\
Email: [email protected]}
}
\maketitle
\begin{abstract}
%\input{abstr}
\ldots
\end{abstract}
\IEEEpeerreviewmaketitle
\section{Introduction}
\ldots
\cite{papazoglou2007service}
\begin{thebibliography}{1}
\bibliography{bibdata}
\bibliographystyle{IEEEtran}
\end{thebibliography}
\end{document}
答案1
您必须删除\begin{thebibliography}{1}
并\end{thebibliography}
:
\documentclass[conference]{IEEEtran}
\begin{document}
\cite{papazoglou2007service}
\bibliography{bibdata}
\bibliographystyle{IEEEtran}
\end{document}
bibdata.bib
然后,您需要一个包含参考书目条目的文件,例如:
@Article{papazoglou2007service,
author = {Jon Doe},
title = {Title},
journal = {Journal},
year = {2016}
}
最后,确保运行bibtex
,这是自动完成的,例如latexmk
:
latexmk -pdf main.tex