[pstricks] pst-pdf and auto-pst-pdf

Christoph Bersch usenet at bersch.net
Fri Aug 13 13:58:15 CEST 2010

Herbert Voss schrieb:
> Am 13.08.2010 04:45, schrieb George:
>> I have some graphics in png format, and I have converted all of them
>> to eps. Both png and eps files are in the same directory, using
>> indentical (apart from the extension) filenames. I'm trying to get
>> pst-pdf or auto-pst-pdf to work but it writes a pdf that doesn't
>> include any pstricks diagrams, although png graphics are included.
>> When following the instructions from the website
>> (http://tug.org/PSTricks/main.cgi?file=pdf/pdfoutput) I get the
>> following warning:
>> Package pst-pdf Warning: pspicture No. 1 undefined.

I encountered the same problem after upgrading ghostscript on Debian 
lenny from version 8.62.dfsg.1-3.2lenny1 to 8.62.dfsg.1-3.2lenny4. After 
downgrading again, it worked again.

With option  crop=off it works in both cases, but crop=on leads to an 
error with the more recent ghostscript version.

When calling pdfcrop (version 1.23) in a separate call on the 
*-autopp.pdf file, it fails with

!pdfTeX error: pdftex (file ./auto-pst-pdf-test-croppon-autopp.pdf): PDF 
inclusion: required page does not exist <1>
  ==> Fatal error occurred, no output PDF file produced!

But I have no idea what is going on there.


More information about the PSTricks mailing list