I have the following latex code:
\begin{thebibliography}{10}
%\bibliography{ijmso}
\bibliography{mybib}
%\bibliographystyle{unsrt}
%\bibliographystyle{alpha}
\bibliographystyle{agsm}
\end{thebibliography}
it is part of Inderscience journals template (Authors biography for Inderscience journals). I am using natbib package. The bibliography used to work in the other template where the citation is numerical. When I tried to change it to author-year style it generates this error:
! Undefined control sequence. \harvardpreambledefs
! Undefined control sequence. \harvardpreambletext
I checked "mybib" file many times. I also tried to remove the items which can cause problem ( the ones containing special characters for example). I removed .aux .bib files and run again. I tried the to use \cite, \citep, \citet, but all of my attempts were unsuccessful.
Do you have any suggestion?
thebibliographyenvironment and\bibliography/\bibliographystyle, you can probably remove the environment. – Torbjørn T. Nov 17 '16 at 14:55\begin{thebibliography}{10}, lots of\bibiteminstructions, and\end{thebibliography}, or you can use a tool such as BibTeX to create the formatted bibliography for you. If you choose the latter method, do not under any circumstance write\begin{thebibliography}{10}and\end{thebibliography}. Instead, provide suitable\bibliographystyleand\bibliographydirectives. Your choice: one or the other, but not both. – Mico Nov 17 '16 at 15:36