I'm trying to cite through my bibliography and in PDF output it is only showing "?". Why?
Code: Select all
\documentclass[
parskip=half,
ngerman
]{scrreprt}
\usepackage{babel}
\usepackage[utf8]{inputenc}
\usepackage[sort,nonamebreak,sectionbib,square]{natbib}
\usepackage[
colorlinks=true,
urlcolor=blue,
citecolor=red,
linkcolor=red,
bookmarks=true
]{hyperref}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{test,
author={John Doe},
title={Wo is John Doe?},
year={2009}
}
\end{filecontents*}
\begin{document}
This is a very beautiful day \cite{test}.
\citep{test}
\citet{test}
\bibliographystyle{natdin}
\bibliography{\jobname}
\end{document}