# [pstricks] pst-pdf

Patrice MÉGRET Patrice.MEGRET at umons.ac.be
Thu Jul 11 11:58:03 CEST 2013

Dear Herbert,

Thanks for this info.

It is clear that auto-pst-pdf in better but in fact my goal was not to make a complete pdf file but only to extract each pstricks picture in one eps file and I use \savePics in the pst-pdf config file.

As psgraph is a very interesting environment, it would be interesting to add this in pst-pdf to work automatically (without postscript environment) as with pspicture.

Best regards,

Patrice

-----Message d'origine-----
De : PSTricks [mailto:pstricks-bounces at tug.org] De la part de Herbert Voss
Envoyé : mercredi 10 juillet 2013 20:18
À : pstricks at tug.org
Objet : Re: [pstricks] pst-pdf

Am 10.07.2013 17:50, schrieb Patrice MÉGRET:

> I have to extract eps figures for an article and I use pst-pdf.
>
> It worked fine on the example but I always get an error in my file
> (see attached sample code) at the latex compilation.
>
> I cannot figure the trouble here. Can you help me?

Patrice,
you should use auto-pst-pdf, it has some advantages.
But you must have filenames without spaces in the name.
Only the pspicture environment ist scanned by the package if you use the psgraph environment then put it into

\begin{postscript}
\psset{...}
\begin{psgraph}...
...
\ned{psgraph}
\end{postscript}

Attached my version which runs fine with pdflatex --shell-escape Document-TeX1.tex

best
Herbert