1

I'm trying to use pstricks in beamer, and need to compile it with pdflatex. Weirdly, the code works when I have a single frame (see MWE below) but as soon as I add a second frame (i.e. uncomment line 4), my Ghostscript goes crazy it seems. Why is that??

\documentclass{beamer}
\usepackage{pstricks,auto-pst-pdf} 
\begin{document}
%\frame{frame1}
\frame{
  \begin{pspicture}(0,0)(1,1)
    \psdot(.4,.3)
  \end{pspicture}
}
\end{document}

Sample console output:

Last OS error: Invalid argument
Current file position is 116155
GPL Ghostscript 9.10: Unrecoverable error, exit code 1
PDFCROP 1.38, 2012/11/02 - Copyright (c) 2002-2012 by Heiko Oberdiek.

!!! Warning: Empty Bounding Box is returned by Ghostscript!
!!!   Page 1: 0 0 0 0
!!! Either there is a problem with the page or with Ghostscript.
!!! Recovery is tried by embedding the page in its original size.
mimuller
  • 800

0 Answers0