1. 几个文件类型:
tex---就是tex文件,这个地球人都知道,是文章所在的主要文件
bib---参考文献所在的文件
bst---参考文献样式文件
.tex 文件的最后加上\bibliography{xxx}, xxx是bib文件同名,在\bibliography中不需要加载扩展名。
2. 模版:
如IEEE需要:
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,bare_conf}
第一行表示使用的bst文件, 这个不用管它。
第二行的第一个参数表示使用的bib文件, 第二个参数是你自己写的bib文件。
如果是其他的模板:
\bibliographystyle{ownbib}
只需这一句就可以, 参数就是自己的bib文件名。
3. 编译生成.bbl文件:
分成4步
1. Run latex: LaTeX finds the references that are cited in the .tex file
and the declaration of the bibliography style file (.bst) and
bibliography database (.bib) and records them in the .aux file.
2. Run bibtex: BibTeX reads the .aux file to determine what cited entries
to pull