I am using RMarkdown
and Knitr
to compile a PDF document. I'm using Natbib and a library.bib
file generated with Mendeley in order to make use of references using citation keys such as {Author2017}
. It normally displays the references like this in the PDF:
"Here is something I am saying in the text (Author, 2017)."
Now it looks like this:
"Here is something I am saying in the text (?)."
As far as I understand this can be for one of two reasons:
- Duplicate citation keys in the .bib file I use
- I entered the wrong citation key somewhere in the document
I have already checked for duplicate citation keys in the .bib
file. There aren't any. I assume I have entered the wrong citation key somewhere in the .rmd
file. How do I find that wrong citation key?