I am using a simple LaTeX file main.tex where am including a bib file and referring to its references, but reference numbers and references are not displayed, instead there is symbol ?. I want to print references whom I have referred to under the section Bibliography and reference number such as [1]. How can I make this code work as I want? Am using Windows 8, Texmaker 4.0.4 and MiKTeX 2.9. Here is the code.
main.tex
\documentclass[11pt]{article}
\usepackage{cite}
\usepackage[german, english]{babel}
\begin{document}
\title{My Article}
\author{Nobody Jr.}
\date{Today}
\maketitle
Blablabla said Nobody ~\cite{Nobody06}.
\bibliographystyle{plain}
\bibliography{local}
\end{document}
local.bib
@misc{ Nobody06,
author = "Nobody Jr",
title = "My Article",
year = "2006" }
bibtexon the.auxfile? – Lars Kotthoff Oct 19 '13 at 21:46pdflatex main;bibtex main; pdflatex main; pdflatex mainThat is two runs of latex after bibtex – David Carlisle Oct 20 '13 at 12:15