BibTeX, biblatex and bibernatbib undefined citations

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

natbib undefined citations

Post by kaiserkarl13 »

balajiSankar, I'm actually surprised that worked at all; it shouldn't have, and it doesn't on my machine. You wrote:

Code: Select all

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:

Code: Select all

@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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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

natbib undefined citations

Post by jamesray »

balajiSankar wrote:Hi,

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

Code: Select all

@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},
}
This was giving the undefined citations error. When i changed them to

Code: Select all

@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 worked and all were happy :-)
That may have worked for you, but it caused the build to fail for me:

Code: Select all

! 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/Bib ... #BibTeX%20:
jamesray
Posts: 2
Joined: Mon Feb 05, 2018 5:58 am

natbib undefined citations

Post by jamesray »

See https://en.wikibooks.org/wiki/LaTeX/Bib ... ny_output? for information about warnings like

Code: Select all

LaTeX Warning: Citation `lamport94' on page 1 undefined on input line 21.
...
LaTeX Warning: There were undefined references.
Post Reply