i wanna have this block appear by tapping next.
\begin{block}{Methode}
\begin{lstlisting}
for i in range(2,N):
a[i] = (a[i-1] * b + 1) % m
\end{lstlisting}
\end{block}
i tried it with
\onslide<2->{ CODE }
but i get this error message
(no line number in this file):
Package utf8x Error: Character159appearedalone.
See the utf8x package documentation for explanation.
Type H <return> for immediate help.
...
l.23 \item<4->m sollte groß und eine Potenz von 10 oder 2 sein
Characters128-191areonlyallowedasargumentstocharacters194-244
thanks for your help =)
lstlistingenvironment can never appear as the argument to another command. – egreg Sep 08 '13 at 13:12