BibTeX, biblatex and biber ⇒ Undefined references
-
- Posts: 6
- Joined: Thu Mar 19, 2009 8:01 pm
Undefined references
1. Package natbib Warning: Citation "XYZ" on page X undefined on input line Y
2. Package natbib Warning: There were undefined references.
Now this is really strange, because my old references work fine (they are all in the same file), but I cannot get my new references to work. Any suggestions?
The code is very simple:
\documentclass[12pt, oneside, a4paper]{article}
\usepackage{natbib}
\begin{document}
\cite{Greene2002}
\cite{Overbeck}
\bibliographystyle{plain}
\bibliography{bibliography}
\end{document}
So for example, above citation for "Green2002" does not work while for "Overbeck" it works. BibTex entries are:
@BOOK{Greene2002,
title = {Econometric Analysis},
publisher = {Prentice Hall},
year = {2002},
author = {William H. Greene},
owner = {jbrajkovic},
timestamp = {2010.06.27}
}
@ARTICLE{Overbeck,
author = {Ludger Overbeck and Tobias Ryden},
title = {Estimation in the Cox-Ingersoll-Ross Model},
journal = {Econometric Theory},
year = {1997},
volume = {13 (3)},
pages = {430-461},
owner = {jbrajkovic},
timestamp = {2010.02.18}
}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Undefined references
-
- Posts: 6
- Joined: Thu Mar 19, 2009 8:01 pm
Re: Undefined references
-
- Posts: 6
- Joined: Thu Mar 19, 2009 8:01 pm
Re: Undefined references
Undefined references
1. Run LaTeX
2. Run BibTeX
3. Run LaTeX
4. Run LaTeX
So, after every change in your .bib file, you have to run BibTeX again, followed by running LaTeX two times afterward. Of course, if you're using pdflatex (or xelatex), the same applies for it: pdflatex > BibTeX > pdflatex > pdflatex.
Changing the name of your .bib file shouldn't have any effect on the issue.
Re: Undefined references
I compile everything in the correct order: Latex, bibtex, latex, latex
The bibliography is in the same folder as the .tex document
The only thing I noticed was that my bib file is now quite large (>1000 lines)
It says "warning, line 92, citation Ahn_2009 on page 3 undefined"
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Undefined references
[1] View topic: Avoidable mistakes
Best regards and welcome to the board
Thrsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Undefined references
I'm using JabRef 2.6 and am also noticing that new additions to my .bib file aren't being recognized anymore. I tried renaming my references file, but that didn't help.
When I temporarily moved my .bbl-file to another folder to force LaTeX to make a new one, suddenly none of my citations was working. I then put my original file back and all of the old citations worked again, not the new ones.
This behaviour is new, I added other references last week and those worked fine.
I need to hand in my thesis next week and this is not helping to make me feel less stressed, any help is greatly appreciated!
edit: I'm also using natbib btw.
Undefined references
Re: Undefined references
