Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have been trying to get BibTeX working but am really struggling. I have spent all morning doing google searches and trying to use other people's examples with no luck.

I am using the latest version of Mac OS X (Lion), Emacs, and AUCTeX.

The problem is that every time I try to pdflatex my TeX file I get unresolved references and all the citations are [?]. I have my TeX file and my bib file in the same folder.

\documentclass{article}
\begin{document}
\cite{who}
\bibliographystyle{plain}
\bibliography{test}
\end{document}

@ARTICLE{who,
  author = {who},
  year = {2008}
}
share|improve this question

1 Answer 1

You need to run bibtex after a pdflatex run:

pdflatex file
bibtex file
pdflatex file
pdflatex file
share|improve this answer
    
There is also a "BibTeX" entry in the "Command" menu provided by AUCTeX that runs bibtex on the file corresponding to the current buffer. –  egreg Oct 28 '11 at 22:31
    
Had same problem as OP, @Boris solved it! Thanks bro. –  Love Learning Apr 29 at 17:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.