Settings Help
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/graphics/pstricks/scripts/pst2pdf

<pre>
pst2pdf is a Perl script which isolates all PostScript or
PSTricks related parts of the TeX document into single
LaTeX files, for which an eps and pdf image is created. 
The pdf ones are then imported in a last pdflatex run
for the pdf output of the main document. The eps and
pdf files are saved in a subdirectory images.

Syntax: pst2pdf.pl file[.tex] [-options] 

alternative: perl pst2pdf.pl file[.tex] [-options]


Some restrictions:
\begin{postscript}
...
\begin{pspicture}
....
\end{pspicture}
...
\end{postscript}

The pspicture environment can be nested, the postscript one NOT! 
pspicture can be inside of a postscript environment, but 
not vice versa.

The postscript environment should be used for all other
PostScript related commands, which are not part of
a pspicture environment, e.g. nodes inside normal text.

pst2pdf creates a document file-pdf.tex for use with
pdflatex, which then creates file-pdf.pdf. The created
images are named file-pst-<No>.pdf

for more documentation => pst2pdf --help or read the documentation

--
Herbert Voss 2010-01-04
</pre>

Direc­to­ries

Name Notes
doc

Files

Name Size Date Notes
Changes 1156 2013-03-10 10:29:58
README 1080 2013-02-27 07:38:36
pst2pdf.pl 23883 2013-02-27 07:34:14

DOWNLOAD Down­load the com­plete con­tents of this di­rec­tory in one zip archive (438.5k).

pst2pdf – A script to com­pile pstricks doc­u­ments via pdf­tex

The script ex­tracts the pream­ble of the doc­u­ment and runs all \be­gin{postscript}...\end{postscript}\be­gin{pspic­ture}...\end{pspic­ture} and\pspic­ture...\endp­spic­ture sep­a­rately through LaTeX with the same pream­ble as the orig­i­nal doc­u­ment; thus it cre­ates EPS, PNG and PDF files of these snip­pets. In a fi­nal PDFLaTeX run the script re­places the en­vi­ron­ments with \in­clude­graph­ics to in­clude the pro­cessed snip­pets.
De­tail doc­u­men­ta­tion is ac­quired from the doc­u­ment it­self via Perl­doc.

Doc­u­men­ta­tion Pack­age doc­u­men­ta­tion
Pack­age doc­u­men­ta­tion
Readme
Ver­sion0.14
Li­censeGNU Gen­eral Public Li­cense
Main­tainerHer­bert Voß
Pablo Gonzáles
Con­tained inTeXLive as pst2pdf
MiKTeX as pst2pdf
Topics graph­ics (sup­port pack­ages)
con­vert­ing graph­ics files from Me­ta­post out­put or (E)PS to em­bed­dable PDF
Guest Book Sitemap Contact 2013-04-08 10:36