I have a problem making my bibliography run. I had the same code some time ago and it did run then, I can't figure out what the problem is.
\documentclass[12pt]{scrartcl}
\usepackage[comma,authoryear]{natbib}
\begin{document}
Blablabla \cite{xy}
\bibliographystyle{natbib}
\bibliography{rp_bib.bib}
\end{document}
When I run LaTeX and afterwards BibTeX, it says I couldn't open style file natbib.bst
I'm skipping whatever remains of this command
I couldn't open database file...
Does anyone know what the problem might be?
Best Answer
There are several errors in your MWE. I have corrected them and included a short example
bib
file with packagefilecontents
(for the manual typetexdoc filecontents
in your command line).Please have a look for the bibliography style:
natbib
is the name of the package, you mentnatdin
I guess. Macro\bibname
needs only the name (here:\jobname
) of your bib file. Leave out.bib
(Explanation: If you store the MWE with the file namemwe.tex
your createdbib
file will be namedmwe.bib
).Corrected and pretty printed MWE: