I am getting a strange error message when I put textbf into a frame environment.
Minimal Example
\documentclass{article}
\listfiles
\begin{document}
\begin{frame}
\textbf{Lemma 1}
\end{frame}
\end{document}
Error Message:
! Missing number, treated as zero.
<to be read again>
}
l.8 \textbf
{Lemma 1}
When I comment out the \textbf, the file compiles fine. When I use \textbf normally, the file also compiles fine.
Note: I am using pdflatex on Linux.


