# Beamer auto-pst-pdf — multiple images [closed]

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?

## closed as unclear what you're asking by user36296, Troy, user31729, Torbjørn T., ebosiJun 17 '17 at 16:03

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• I would use tikz for the pictures instead of pstricks and auto-pst-pdf. auto-pst-pdf has problems with tikz/pgf (and beamer loads it): tex.stackexchange.com/questions/166623/…, sourceforge.net/p/pgf/bugs/316 – Ulrike Fischer Apr 5 '15 at 16:35
• Thank you Ulrike (I think we "know" each other from mrunix :) ). However, I have a a lot of pstricks images in my presentation and redoing them in tikz is just not an option. For the moment I solved the issue by using XeLaTex, but an easier solution would be appreciated. – Marcel Apr 6 '15 at 21:21
• I have no problem with up-to-date TL2016 – user2478 Apr 20 '17 at 14:33