我正在使用 pdflatex 和 texworks 以及 vim latex-suite。我尝试使用以下方法将参考书目附加到文档中:
\bibliographystyle{plain}
\bibliography{Graph_bib}
.bib 文件的格式如下:
@inproceedings{Kovar:2008:MG:1401132.1401202,
author = {Kovar, Lucas and Gleicher, Michael and Pighin, Fr\'{e}d\'{e}ric},
title = {Motion graphs},
booktitle = {ACM SIGGRAPH 2008 classes},
series = {SIGGRAPH '08},
year = {2008},
location = {Los Angeles, California},
pages = {51:1--51:10},
articleno = {51},
numpages = {10},
url = {http://doi.acm.org/10.1145/1401132.1401202},
doi = {http://doi.acm.org/10.1145/1401132.1401202},
acmid = {1401202},
publisher = {ACM},
address = {New York, NY, USA},
keywords = {animation with constraints, motion capture, motion synthesis}
}
@inproceedings{Witkin:1988:SC:54852.378507,
author = {Witkin, Andrew and Kass, Michael},
title = {Spacetime constraints},
booktitle = {Proceedings of the 15th annual conference on Computer graphics and interactive techniques},
series = {SIGGRAPH '88},
year = {1988},
isbn = {0-89791-275-6},
pages = {159--168},
numpages = {10},
url = {http://doi.acm.org/10.1145/54852.378507},
doi = {http://doi.acm.org/10.1145/54852.378507},
acmid = {378507},
publisher = {ACM},
address = {New York, NY, USA},
keywords = {animation, constraints}
}
... 等等,但是当我将文档编译为 pdf 时什么都没有出现。有人知道这里出了什么问题吗?
谢谢
答案1
BibTeX 仅包含您使用该命令在文本中实际引用的参考文献\cite
。要将所有参考文献包含在参考书目文件中,您必须发出以下命令\nocite
:
\nocite{*}
\bibliographystyle{plain}
\bibliography{Graph_bib}