I tried to include some pictures in a LaTeX Beamer presentation. I used auto-pst-pdf to produce a pdf output.
Strangely, just the first picture shows up in the resulting document. Here's a minimal example. You can find the output messages here: http://pastebin.com/vqmGTXix
\documentclass{beamer}
\usepackage[english]{babel}
\usepackage{pstricks}
\usepackage{auto-pst-pdf}
\begin{document}
\begin{frame}
\begin{pspicture}(1,1)
\psline(0,0)(1,1)
\end{pspicture}
\end{frame}
\begin{frame}
\begin{pspicture}(1,1)
\psline(1,0)(0,1)
\end{pspicture}
\end{frame}
\end{document}
How can I ensure that also the second image will be compiled?
Thank you in advance!