我已经在我的乳胶文件中添加了参考书目,如下所示:
...to the literature \cite{ahu61}
\bibliography{bibliography}
我的bibliography.bib
样子是这样的:
@article{ahu61,
author={Arrow, Kenneth J. and Leonid Hurwicz and Hirofumi Uzawa},
title={Constraint qualifications in maximization problems},
journal={Naval Research Logistics Quarterly},
volume={8},
year = 1961,
pages = {175-191}
}
如果我保留引用,我会得到
Texification succeeded: no errors!
However, there were warnings in your LaTeX source
./main.tex:231: LaTeX Warning: Citation `ahu61' on page 4 undefined on input line 231.
./main.tex: LaTeX Warning: There were undefined references.
也没有参考书目。
如果我删除它,我不会收到任何警告,但也不会收到参考书目。
答案1
\bibliographystyle
使用“标准”的最小 LaTeX 文件除了行之外还必须有一行\bibliography
以及一个或多个引用(\cite
)。
\documentclass{article}
\bibliographystyle{plain}
\begin{document}
...to the literature \cite{ahu61}
\bibliography{bibliography}
\end{document}
现有的风格有很多种:正确的选择取决于您的情况。