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.)
Best Answer
Too long for a comment:
Please try the following complete, compilable MWE:
Package
filecontents
is only to put the bib file into the MWE to have only one file to compile.The result then on my computer with current MiKTeX 2.9 is
If you got something else please add
\listfiles
as first line to the MWE, compile and add the new part in the log file to your question ...