
\documentclass{beamer}
\usepackage{lmodern}
\usepackage{caption}
\begin{document}
\begin{frame}{Are you kidding?}
No! I am not a good joker.
\end{frame}
\end{document}
The following is taken from Ulrike's comment:
beamer loads hyperref with the option
implicit=false. This option inserts a\endinputin the command\MaybeStopEarlyin hyperref and has the effect that about 2000 lines of code of hyperref are not executed. This 2000 lines contains a lot of definitions and redefinitions. One of them is e.g. that it inserts in\@captionthe command\hyper@makecurrent{\@captype}. So getting rid of the warning by giving\hyper@makecurrentand empty definition will quite probably not enable hyperref support.
The next question becomes: Why does beamer load incompletely hyperref? What is the purpose?
\usepackage{caption}:). – Yiannis Lazarides Jun 18 '11 at 20:04LTXexampleenvironment with many other LaTeX environments inside. One of the topics is about caption. – xport Jun 18 '11 at 20:18\documentclass[final]{beamer}and it should fix it, seriously:) – Yiannis Lazarides Jun 18 '11 at 20:54