I'm write a document of type tufte-handout, and wanted to use Vancouver reference style for bibliography, however I get the following error:
Package natbib Error: Bibliography not compatible with author-year citations.
This doesn't stop the document from generating, and references are also created fine, but they use plane bib style. How can I stop this error from occurring, and what does it actually mean? Is there a way to force Vancouver style?
EDIT: Added MVE. I should also mention I'm using BasicTeX. Minimum working example:
\documentclass{tufte-handout}
\usepackage{lipsum}
\begin{document}
\lipsum[1] \cite{Lucas:2006}
\bibliographystyle{vancouver}
\nobibliography{test-refs}
\end{document}
Content of bib file:
@inbook{Lucas:2006,
Author = {Adam Lucas},
Date-Added = {2016-03-01 22:05:32 +0000},
Date-Modified = {2016-03-01 22:05:32 +0000},
Number = {90-04-14649-0},
Pages = {65},
Publisher = {Brill Publishers},
Title = {Wind, Water, Work: Ancient and Medieval Milling Technology},
Year = {2006}}
natbib
package and specify the bibliography style.natbib
myself. However, I've added code for minimum verifiable example. Thanks @egreg :)