Latex 调用 Bibtex (IEEEtran in pdfLatex of TexWorks)
2011 - 12 - 29
文章结束(\end{document})前 加入:
\bibliographystyle{IEEEtran}
\bibliography{references}
其中"references" 是文件名, 指同文件夹下的 references.bib, .bib文件格式为:
@BOOK{testBook,
author={Everett, G. and McLeod, R.},
title={Software Testing(Testing Across the Entire Software Development Life Cycle)},</pre>
year={2006},
month={3},
volume={},
number={},
pages={345},
keywords={},
doi={},
ISSN={},}
OBS 注意, 这里不是"booktitle", 是"title"* 有些类型(例如INPROCEEDINGS)需要用"booktitle", 不同的时候需要不同的关键词.*
然后依次运行: latex 编译 > bibtex 编译 > latex 编译 > latex 编译 (注意, 一共三次 latex编译).
如果dvi/pdf文件不是你想要的结果, 请一定要删除程序生成的中间文件和临时文件(不是自己编辑的都删除,包括dvi/pdf), 然后再次运行以上四个命令.