I've drafted a paper and had all the citations working fine, but now I'm trying to incorporate it into the Physical Review Letters template and I can't make the bibliography work. My document looks like this:
\documentclass[preprint,preprintnumbers,nofootinbib,nobibnotes,amsmath,amssymb,aps,prl,floatfix,]{revtex4-1}
\usepackage{graphicx}% Include figure files
\usepackage{dcolumn}% Align table columns on decimal point
\usepackage{bm}
\begin{document}
\cite{Leggett2002}
\bibliography{library}
\end{document}
where there's a file called library.bib in the same folder, contatining
@article{Leggett2002,
author = {Leggett, AJ},
file = {:Users/dg813/Dropbox/papers/PhysicaC-2002.pdf:pdf},
journal = {Journal of Physics: Condensed Matter},
pages = {415--451},
title = {{Testing the limits of quantum mechanics: motivation, state of play, prospects}},
url = {http://iopscience.iop.org/0953-8984/14/15/201},
volume = {14},
year = {2002}
}
I'm working in Texmaker, and when I compile it just produces a PDF containing [?] and no bibliography. Any advice would be much appreciated.
Thanks!
ieeetr, plainnat, aipauth4-1but to no avail – Dan Goldwater Apr 13 '15 at 12:33\bibliographystylestatement – Mico Apr 13 '15 at 12:46revtextakes care of setting the rightbibliographystyle. The example runs without any error. Why it doesn't work for the OP is unclear, it is probably a matter of not callingbibtex. I vote to close as duplicate of the question mark question. – Johannes_B Oct 11 '15 at 16:48