0
我是使用乳胶的新手。我想导入文件reference.bib我的文件document.tex。以上是我的代码如何将bib文件导入Latex?
reference.bib
@article{lin1973,
author = "Shen Lin and Brian W. Kernighan",
title = "An Effective Heuristic Algorithm for the Travelling-Salesman Problem",
journal = "Operations Research",
volume = 21,
year = 1973,
pages = "498-516"
}
这里是我的document.tex
\documentclass[a4paper,12pt, fleqn]{scrreprt}
\usepackage{natbib}
\begin{document}
\bibliographystyle{plainnat}
\bibliography{reference}
\end{document}
但是,当我跑我的乳胶没有任何反应。谁能帮我。 在此先感谢^^
我试过这种方法,但我收到:“Blablabla发生,因为有需要引用?“ –
警告:引用'lin1973'undefined –
更多编译我的朋友,更多编译。或者你还没有在你的bibtex文件上运行bibtex,或者你没有编译足够多的主代码 – Uvar