# CTAN update: pst2pdf

Date: January 4, 2010 10:59:34 PM CET
Herbert Voss wrote: > I uploaded pst2pdf.tgz to the uk mirror. Please delete _all_ > files in the directory /graphics/pstricks/scripts/ > and put tthe new ones in there > > pst2pdf is a Perl script which can run any document > in pdf mode which contains Postscript related code. > It creates for every Postscript code snippet an own > image as eps, pdf, and/or png. In a last pdflatex run > the pdf or png images are inserted instead of the > Postcript code. > > this update (v 0.10) of pst2pdf has a new documentation > for using pst2pdf and better testfiles. thanks for the upload; i have installed the files and updated the catalogue repository. Users may view the package's catalogue entry at http://www.tex.ac.uk/tex-archive/help/Catalogue/pst2pdf.html or browse the package's directory at http://www.tex.ac.uk/tex-archive/graphics/pstricks/contrib/pst2pdf/ The catalogue entry will change (somewhat) overnight tonight. Robin Fairbairns For the CTAN team

## pst2pdf – A script to compile PSTricks documents via pdfTeX

The script extracts the preamble of the document and runs all

\begin{postscript}...\end{postscript}
\begin{pspicture}...\end{pspicture} and
\pspicture...\endpspicture

separately through with the same preamble as the original document; thus it creates EPS, PNG and PDF files of these snippets. In a final pdf run the script replaces the environments with \includegraphics to include the processed snippets.

Detail documentation is acquired from the document itself via Perldoc.