[Tex/LaTex] LaTeX Warning: There were undefined references. – path is correct

bibliographiesbibtexlatexmksublime-texttexlive

I am getting the following warnings when building my document:

However, there were warnings in your LaTeX source

    ./100DayIntro.tex:7: LaTeX Warning: Citation `Cook2009' on page 1 undefined on input line 7.
    ./100DayIntro.tex:7: LaTeX Warning: Citation `Sandy2004' on page 1 undefined on input line 7.
    ./100DayIntro.tex:7: LaTeX Warning: Citation `Devaul2001' on page 1 undefined on input line 7.
    ./100DayIntro.tex:7: LaTeX Warning: Citation `Donnelly2010' on page 1 undefined on input line 7.
    ./100DayIntro.tex: LaTeX Warning: There were undefined references.

I have my references added:

\bibliography{../../../../Articles/library}

and if I go via the terminal to where my tex file is and enter ../../../../Articles I can see the library.bib file is there and I can open it and all the references are in there.

Why are these warnings showing and why are my references not being entered? I've seen elsewhere people saying to build the file a few times but that has not worked either.

EDIT:
Also when I type \cite on Sublime Text 2 I get the search bar opening to allow me to search references and it seems to be picking them all up fine.

I have a different tex file in an adjacent folder that builds with references fine, when I copied the paragraph from the non-compiling file into the compiling one it will no longer add the references I just get [?]

Best Answer

I used to have the same problem, but I solved using the capital letters in

\bibliographystyle{IEEEtran}

(I had previously

\bibliographystyle{ieeetran}

), Remember that linux is sensible to capital letters.

Related Question