## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ natbib undefined citations Topic is solved

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
kaiserkarl13
Posts: 649
Joined: Tue Mar 25, 2008 5:02 pm

### Re: natbib undefined citations

balajiSankar, I'm actually surprised that worked at all; it shouldn't have, and it doesn't on my machine. You wrote:
`THIS CODE IS WRONG@ARTICLE{gasTurbineCombustor_GeneralMotors_AIAA}    AUTHOR  = {"N.K.Rizk , H.C.Mongia"},    TITLE   = {"Gas Turbine combustor performance evaluation"},      YEAR    = {"1991"},    JOURNAL = {"29^{th } Aerospace sciences meeting"},    NUMBER  = {"AIAA-91-0640"},}`

It should be something like:
`@ARTICLE{gasTurbineCombustor_GeneralMotors_AIAA,    AUTHOR  = "N.K. Rizk and H.C. Mongia",    TITLE   = "Gas Turbine combustor performance evaluation",    YEAR    = 1991,    JOURNAL = "29{\textsuperscript{th}} Aerospace sciences meeting",    NUMBER  = "AIAA-91-0640",}`

The most important things that were wrong with the above code: the "and" between author names, the comma after the key (first line), and the extra braces around the TeX code for superscripts (I chose to use `\textsuperscript` since you're superscripting text, but you could easily put math mode in there as well provided it's inside braces so as to expand directly).
I say "something like" because there are still a number of problems with this. (1) There is a number, but no volume; (2) This is not a journal article, it's an inproceedings. There are others.

jamesray
Posts: 2
Joined: Mon Feb 05, 2018 5:58 am
balajiSankar wrote:Hi,

I had the same problem . This is what solved it.
I was having entries like the one below:

[code=none]@ARTICLE{gasTurbineCombustor_GeneralMotors_AIAA}
AUTHOR = {N.K.Rizk , H.C.Mongia},
TITLE = {Gas Turbine combustor performance evaluation},
YEAR = {1991},
JOURNAL = {29^{th } Aerospace sciences meeting},
NUMBER = {AIAA-91-0640},
}[/code]

This was giving the undefined citations error. When i changed them to

[code=none]@ARTICLE{gasTurbineCombustor_GeneralMotors_AIAA}
AUTHOR = {"N.K.Rizk , H.C.Mongia"},
TITLE = {"Gas Turbine combustor performance evaluation"},
YEAR = {"1991"},
JOURNAL = {"29^{th } Aerospace sciences meeting"},
NUMBER = {"AIAA-91-0640"},
}[/code]

it worked and all were happy

That may have worked for you, but it caused the build to fail for me:
`! Improper alphabetic constant.<to be read again>                    \csqQQ l.99 \cite{buterin2013ethereum}                                first proposed the kernel of this work in la...`

It's better to stick with style conventions, e.g. as outlined here: https://en.wikibooks.org/wiki/LaTeX/Bibliography_Management#BibTeX%20:

jamesray
Posts: 2
Joined: Mon Feb 05, 2018 5:58 am
See https://en.wikibooks.org/wiki/LaTeX/Bibliography_Management#Why_won't_LaTeX_generate_any_output? for information about warnings like
`LaTeX Warning: Citation `lamport94' on page 1 undefined on input line 21....LaTeX Warning: There were undefined references.`