I've been trying to use bibliography in a beamer document. I have tried in many ways and does not work at all. Here is an example of the document
\documentclass{beamer}
\usepackage[backend=biber,style=apa]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\addbibresource{References.bib}
\renewcommand*{\finalnamedelim}{%
\ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
\addspace \&\space}%
\DefineBibliographyStrings{english}{%
references = {Bibliografía Propuesta},
}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[spanish]{babel}
\usetheme{Singapore}
\usefonttheme{serif}
\usepackage{amsmath}
\usepackage{amsthm, amssymb}
\begin{document}
\begin{frame}
\cite{*}
\end{frame}
\begin{frame}[allowframebreaks]
\printbibliography
\end{frame}
\end{document}
I have only problems with beamer with other documents works well.
Here an example of one entry of the file References.bib
@article{granger1981,
title={Some properties of time series data and their use in econometric model specification},
author={Granger, Clive WJ},
journal={Journal of econometrics},
volume={16},
number={1},
pages={121--130},
year={1981},
publisher={Elsevier}
}
The file gives the following message
Empty bibliography
Can someone help me?
ps: I have tried many similar questions on this site, so it is not a duplicate question.
undefined control sequence \end{frame}after the\printbibliography. don't see any reasons for that. I also get a lot of warnings – naphaneal Jun 14 '16 at 08:06biblatexafterbabel, you will also have to change the line\DeclareLanguageMapping{american}{american-apa}to\DeclareLanguageMapping{spanish}{spanish-apa}if the document language (as set bybabel) is Spanish. – moewe Jun 15 '16 at 05:17