I'm submitting a paper to the Journal of Complex Networks (An Oxford University Press journal). They provide their LaTeX class files at this page.
I'm getting the following error:
ERROR: Package natbib Error: Bibliography not compatible with author-year citations.
Problem - I seem to be following the steps that they provide. Based on their instructions in the sample .tex file, I am compiling:
\documentclass{comnet}
\begin{document}
\cite{Ahn1983}
\bibliographystyle{comnet}
\bibliography{sample}
%
% once the .bbl file has been generated then place the text in your article.
\end{document}
(sample.bib
is provided in the link I gave above)
The .bbl
file is just
\begin{thebibliography}{00}
\bibitem{Ahn1983} Alexander, J.~C. {\&} Auchmuty, G. (1983) Iterative methods for linear complementarity problems with upperbounds and lowerbounds. {\em Mathematical Programming}, \textbf{26}, 265.
\end{thebibliography}
Following the instructions I copy and paste this in and recompile
\documentclass{comnet}
\begin{document}
\cite{Ahn1983}
\begin{thebibliography}{00}
\bibitem{Ahn1983}
Alexander, J.~C. {\&} Auchmuty, G. (1983) Iterative methods for linear
complementarity problems with upperbounds and lowerbounds. {\em Mathematical
Programming}, \textbf{26}, 265.
\end{thebibliography}
\end{document}
which compiles, but gives the error:
ERROR: Package natbib Error: Bibliography not compatible with author-year citations.
Any thoughts on why this error exists, and more to the point, whether it's fixable?