I copy-pasted the bib structure from my document to this presentation but it insists on not working.
Code: Select all
\documentclass[hyperref={pdfpagelabels=false}]{beamer}
\usepackage{default}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[square, sort, numbers, authoryear]{natbib}
\bibliographystyle{plainnat}
\usetheme{Warsaw}
...
\begin{document}
\begin{frame}{something}
Because it's cool \citep{MrCool2007}.
\end{frame}
\bibliography{references}
\end{document}
Line 8 is the one before natbib usepackage.presentation.tex:0: Citation `MrCool2007' on page 3 undefinedon input line 101.
presentation.tex:8: Empty `thebibliography' environment on input line 8.
presentation.tex:0: There were undefined citations.
If I comment the line where I cite and the \bibliography line it compiles without warnings/errors (but off course it doesn't solve me the problem).
Any way to fix this?
Thank you.