Latex Bibliography

If you want to use a paper.tex and a paper.bib file together, first you need some citations in the paper.tex file.

\section{Introduction}

He say this \cite{Wang:4976389}.
He says that \cite{Moghadam:2011:CTA:1984732.1984742}


The paper.bib file should have these references as follows:

@INPROCEEDINGS{Wang:4976389, 
author={Shuang Wang and Offutt, J.}, 
booktitle={Software Testing, Verification and Validation Workshops, 2009. ICSTW '09. International Conference on}, title={Comparison of Unit-Level Automated Test Generation Tools}, 
...

@inproceedings{Moghadam:2011:CTA:1984732.1984742,
 author = {Moghadam, Iman Hemati and \'{O} Cinn\'{e}ide, Mel},
 title = {Code-Imp: a tool for automated search-based refactoring},
...
 

Then to create the actual output, run the following in sequence:

pdflatex paper.tex
bibtex paper.aux
pdflatex paper.tex
pdflatex paper.tex