I'm new to LaTeX and am trying to switch from hardcoded \bibitem
references to natbib
. I have all my references in Mendeley and exported them to a .bib
file. My code is generating no errors (yay!) but is also failing to make any references appear. All of the documentation I've read suggests that one only needs \bibliographystyle
and \bibliography
to make them appear…any thoughts? I looked at the .bib
file and it appears to match everything expected (I also tried to construct a MWE with only one reference but it still failed to appear). All I get is my "test" text.
Thanks for any insights!
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{graphicx}
\PassOptionsToPackage{normalem}{ulem}
\usepackage{ulem}
\usepackage{babel}
\usepackage{ulem, setspace, fullpage}
\setlength\parindent{24pt}
\usepackage[round]{natbib}
\begin{document}
test
\newpage
\bibliography{Zotero-Coresidence}
\bibliographystyle{plainnat}
\end{document}
Best Answer
Remove the quotes from you bibliography path. Also you should be aware that it us easier to place your bibliography in the same directory and then just write the name ' biblio' (without the .bib extension). You can also make relative references. Say your bibliography is in another subfolder in your project. Then you can write 'bib/biblio'