I'm new to using Latex. I want to import File reference.bib to my File document.tex. Above is my Code
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"
}
And here is my document.tex
\documentclass[a4paper,12pt, fleqn]{scrreprt}
\usepackage{natbib}
\begin{document}
Blablabla happened because there was a need to cite \cite{lin1973}..
\bibliographystyle{plainnat}
\bibliography{reference}
\end{document}
I just received : Blablabla happened because there was a need to cite ? . Can anyone help me. Thanks in Advance ^^
biblatexbut about BibTeX, I have retagged your question. – moewe Jul 26 '17 at 11:41latex-bibtex-latex-latex. – Manuel Weinkauf Jul 26 '17 at 12:36