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.
F11? Then again a latex run is required. – Johannes_B Jan 09 '14 at 08:40biblatexalong withbiber(processing tool, thebibtexreplacement) could also be a good idea. – Johannes_B Jan 09 '14 at 08:44F11calls BibTex, which is reading your.auxfile, sorting your Bibliography and generating the.bblfile. – Johannes_B Jan 09 '14 at 08:49\citep{refname}from? IIRC it comes from packagenatbib. But if you are free to choose, use biblatex. – Johannes_B Jan 09 '14 at 09:00