I had to re-install my operating system due to a Windows crash. I managed to recover my documents but can't get my working paper in Latex to compile correctly.
The error looks like this:
Code: Select all
("C:\MyArticle.bbl"
! Undefined control sequence.
<argument> \protect \citeauthoryear
{Smith}{Smith...
l.4 Smith}{1999}]{Smith98}
C:\MyArticle.bbl
and it looks like this:Code: Select all
\begin{thebibliography}{}
\bibitem[\protect\citeauthoryear{Smith}{Smith}{1999}]{Smith98}
Smith (1999).
\newblock Article name article name.
\newblock {\em Journal Journal\/}~{\em 89}, 605--618.
\end{thebibliography}
In previous, working versions,
C:\MyArticle.bbl
looked like this:Code: Select all
\begin{thebibliography}{10}
\bibitem{Smith98}
Smith
\newblock Article name article name.
\newblock {\em Journal Journal}, 89:605--618, 1999.
\end{thebibliography}
\protect\citeauthoryear
tags. How can I get the bibliography when it compiles back to the old state, or get TexWorks to read the \protect\citeauthoryear
tags?Thanks!