[Tex/LaTex] Bibtex: I didn’t find a database entry for

bibtexwarnings

I have a very large tex file and a very large bib file. When I run (xelatex, bibtex) I get several warnings like this:

Database file #1: Thesis.bib
Warning--I didn't find a database entry for "Jag08"
Warning--I didn't find a database entry for "Jag08"
Warning--I didn't find a database entry for "Aharonian2005c"
Warning--I didn't find a database entry for "Marandon2008f"

The problem is that those entries are there in the bib file.

EDIT: Jag08 is actually the first entry. And some later entries in the bib file work without a problem. And in the tex file, most earlier and later citations work as well.

I have therefore created a minimal example (all files are always in the same directory):
tex:

\documentclass{book}
\usepackage{natbib}
\begin{document}
Test citation: \citep{Jag08}
\bibliographystyle{plainnat}
\bibliography{mytestbiblio}
\end{document}

and bib:

@article{Jag08,
   author = {{de Jager}, O.~C. and {Djannati-Ata{\"i}}, A.},
    title = "{Implications of H.E.S.S. observations of pulsar wind nebulae}",
  journal = {ArXiv e-prints},
archivePrefix = "arXiv",
   eprint = {0803.0116},
 keywords = {Astrophysics},
     year = 2008,
    month = mar,
   adsurl = {http://adsabs.harvard.edu/abs/2008arXiv0803.0116D},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

But when I run this example, everything works as expected (note that Jag08 is exactly the entry that makes the first problems in the large file).

So my question would be: What in your experience could cause these problems? I can neither post the whole files nor expect you to solve this, therefore I'm merely looking for directions of likely causes of this error.

Best Answer

To answer my own question:

After I replaced:

regime \citep[][]{Jager2008}.

with:

regime \citep[][]{Jager2008}.

everything works without problems.

Note: I can not see any difference, but the new command was copied from a different location in the latex file (I also copy&pasted the new and old version in here...). This behaviour is reproducable, that means if I click 'undo' and then run again, the same warnings appear again...

Related Question