# Unable to cite in LaTeX

I would like to use citing in my document. I have an *.bib file like this:

@misc{ Nobody06,
author = "Nobody Jr",
title = "My Article",
year = "2006" }


My document is this:

\documentclass[11pt]{article}
\usepackage{cite}

\begin{document}

\title{My Article}
\author{Nobody Jr.}
\date{Today}
\maketitle

Blablabla said Nobody \cite{Nobody06}.

\bibliography{refm}{}
\bibliographystyle{plain}
\end{document}


but I can't see this reference at the end of my document. How can I solve this problem?

• The \bibliographystyle command should precede \bibliography (remove also the empty {}). Did you run BibTeX? – egreg May 3 '14 at 14:23
• Are you running bibtex and then pdflatex (or latex) again? – Sigur May 3 '14 at 14:24
• @Sigurwhat should I do exactly? – Kaja May 3 '14 at 14:30
• I'm almost sure that your editor has a button or menu which says BibTeX. Clique on it. – Sigur May 3 '14 at 14:32
• In order for the references to appear, you must first run pdfLatex, then BibTex, and then pdfLatex again. – cbento May 3 '14 at 14:37

A minor change is needed in your bib file:

@misc{ Nobody06,
author = {Nobody Jr},
title = {My Article},
year = {2006}
}


For making pdf do the following commands:

pdflatex yourfile.tex
bibtex yourfile