You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
! Package natbib Error: Bibliography not compatible with author-year citations.
This error seems to mean natbib is used, and not happy processing the bib file provided with the aea.bst file provided.
The .bib file itself is properly formatted and works flawlessly with 'knitr' when the following YAML settings are specified:
When using pdf_document, it won't use the same template and default style. Also pdf_document defaults to citeproc, using csl for styling. Possibly if you use pdf_document with the same aea.bst and natbib processing it will give you the same error.
I tried to compile a new AEA article and it works as expected but ONLY if I don't use any bibtex citations.
After I add
to the YAML header I get an error that I can not fix:
! Package natbib Error: Bibliography not compatible with author-year citations.
The .bib file itself is properly formatted and works flawlessly with 'knitr' when the following YAML settings are specified:
The text was updated successfully, but these errors were encountered: