\documentclass{beamer}
\usepackage[latin1]{inputenc}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{wasysym}
\usetheme{CambridgeUS}
\title{Beamer o Beamer}
\author{mishr}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
%slide 0
\begin{frame}
\frametitle{Introduction}
\begin{itemize}
\item Item A \cite{author1} %This works
\item ItemB
\end{frame}
\begin{frame}
\begin{figure}
\includegraphics[scale=0.4]{fig}
\caption{Some figure\protect \cite{Author}}%This doesn't work.
\end{figure}
\end{frame}
\begin{frame}
\frametitle{Bibliography}
\bibliographystyle{abbrvnat}
\bibliography{pres}
\end{frame}
%bib file is named pres.bib
I am using the above in Beamer. The citation gives me [?] after multiple runs. Citation in the text works fine. Any ideas why ?
Edit: MWE added.
Best Answer
I don't see any problems with the following code. I've removed
\protect
. MikTeX 2.9 andbeamer
3.20A. I've put the command\listfiles
in the file so that the version info of the packages printed in the log file.