I'm having some trouble getting my bibliography to show up in my compiled latex file. The .tex file recognizes the .bib file and even provides the references ID's in the pop-up menu when I use
\cite
. But when I compile it, I only get [?].This is how my .tex files look like.
Code: Select all
\documentclass{article}
\title{}
\author{}
\begin{document}
\maketitle
\begin{abstract}
\end{abstract}
\cite{a}
\cite{b}
\newpage
\bibliographystyle{plain}
\bibliography{ref1}
\end{document}
Code: Select all
@article{a,
author = {jhghgjhg},
title = {title},
journaltitle = {journaltitle},
date = {date},
}
@article{b,
author = {author},
title = {title},
journal = {journal},
year = {year},
}