1

I'm fairly new to LaTeX and having trouble with citations when using texmaker.

I have used Mendeley to produce what i believe is the .bib file containing all relevant references. (File produced = library & Filetype = BibTex Database, when double clicked "library" is opening in TEXworks). The bibtex file (library) seems to be in the correct format i.e.

@report{refname,
abstract = {},
author = {},
doi = {},
file = {},
issn = {},
journal = {},
keywords = {},
month = ,
number = {},
pages = {},
pmid = {},
title = {{}},
url = {},
volume = {},
year = {}
}

Within Texmaker i have the generic Latex source saved as testdoc.tex

\documentclass[a4paper,12pt]{report}
\begin{document}
Blahblah \cite{refname}
\bibliographystyle{plain}
\bibliography{library}
\end{document}

however within the PDF my citations do not appear to work and have the warning message

LaTeX Warning: Citation `refname' on page X undefined on input line XX.
No file testdoc.bbl.
lockstep
  • 250,273

0 Answers0