Here is the Latex code:
Code: Select all
\documentclass[10pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage[pdftex]{graphicx}
\usepackage{setspace}
\usepackage[round,sort,authoryear]{natbib}
\setlength\parindent{0pt}
\begin{document}
The book by \cite{znosko1961not} might be the best instructional book ever written for chess.
\bibliographystyle{authordate1}
\bibliography{NatbibTest}
\end{document}
Code: Select all
%Testing refs for natbib
%
@book{znosko1961not,
title={How Not to Play Chess},
author={Znosko-Borovsky, Eugene A and Reinfeld, Fred and others},
year={1961},
publisher={Courier Corporation}
}
@book{murray1913history,
title={A history of chess},
author={Murray, Harold James Ruthven},
year={1913},
publisher={Clarendon Press}
}
Code: Select all
Package natbib Warning: Citation `znosko1961not' on page 1 undefined on input l
ine 10.
(./TestBib.bbl
Package natbib Warning: Empty `thebibliography' environment on input line 3.
)
Package natbib Warning: There were undefined citations.
Thanks