I have this simple TeX file in TeXmaker.
\documentclass[11pt]{article}
\usepackage{cite}
\begin{document}
\title{My Article}
\author{Nobody Jr.}
\date{Today}
\maketitle
Blablabla said \cite{bertrand} and whatever.
\bibliography{endnotelibrary}{}
\bibliographystyle{plain}
\end{document}
My file in .bib format is in the same folder as the TeX file.
@article{bertrand
author = {Bertrand, M. and Duflo, E. and Mullainathan, S.},
title = {How Much Should We Trust Difference-In-Differences Estimates?},
journal = {Quarterly Journal of Economics},
volume = {119},
pages = {249-275},
year = {2004}
}
I have set up my TeXMaker as the following:
Options/Configure TexMaker/Quick Build/for asy files/wizard
The quick build compiles running
LaTeX --> BibTeX --> LaTeX --> LaTeX
again as recommended here.
When I run the wizard and want to view the file in PDF format, in the citations I "[?]" instead.
The are warnings too in the Log:
Citation `bertrand' on page 1 undefined
`Empty `thebibliography' environment`
Although it is clearly defined as endnotelibrary!
I am saving my TeX files in a Dropbox folder. (Not sure if this has any relevance.)


.blgwhich is created by bibtex and shows if there were errors. It should be in the folder of your document (unless texmaker hides it somewhere). In cas that you are on windows: windows hides some extensions and it could be that it tells you that the file is a sort of message file. – Ulrike Fischer Feb 11 '15 at 17:42