I'm having some troubles using the command \nocite{*} to avoid citations in the body of my text. I've compiled many times and it keeps showing me question marks at the \nocite{*}'s location. No matter what bibliography style I use, it still shows the question marks. Besides, I've tried to use the listbibpackage and didn't have a good result as well.
Please, don't mark this question as already asked because the only one related to this talks about Other issue
This is (hopefully), the MWE:
\documentclass[12pt ,a4paper]{article}
\usepackage[brazil]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ae}
\usepackage{harvard}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{parskip}
\usepackage{indentfirst}
\usepackage{hyperref}
\usepackage{amssymb,fancyhdr,fancybox,epsfig,psfrag,amsmath,tabularx}
\usepackage[paperwidth=8.5in,paperheight=11in,hmargin={25mm,20mm},vmargin={20mm,20mm}]{geometry} %tamanho letter
\usepackage{fancyhdr}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{key,
author = {Author, A.},
year = {2001},
title = {Title},
publisher = {Publisher},
}
\end{filecontents}
\begin{document}
Hello world
\nocite{key}
\thispagestyle{empty}
\newpage
\bibliographystyle{abbrv}
\bibliography{\jobname} % or \addbibressource{/jobname.bib}
\end{document}

\documentclass{...}and ending with\end{document}. – jub0bs May 11 '14 at 00:49bibtexand recompile the document twice to eliminate the question marks? – cfr May 11 '14 at 00:52\usepackage{harvard}with\usepackage{natbib}and\usepackage{har2nat}. – Paul Gessler May 11 '14 at 03:30