[tex-live] beamer not compatible with listings?

Neal Becker ndbecker2 at gmail.com
Fri Mar 20 15:00:40 CET 2009


\documentclass[english]{beamer}
\usepackage{listings}
\begin{document}
\begin{frame}[Generic Programming with C++]

Test
\begin{lstlisting}
  whatever;
\end{lstlisting}



\end{frame}
\end{document}

Runaway argument?
! Paragraph ended before \lst at next was complete.
<to be read again> 
                   \par 
l.13 \end{frame}
                

! LaTeX Error: \begin{lstlisting} on input line 13 ended by 
\end{beamer at framepa
uses}.
... more errors


More information about the tex-live mailing list