[pstricks] problem with *.pdf
Herbert Voss
Herbert.Voss at alumni.tu-berlin.de
Thu Aug 29 19:28:29 CEST 2002
Esteban Sáez wrote:
> Hello, I' have problems with convert pstricks images from LaTex *.tex,
> *.dvi or *.ps files to *.pdf . I use Winedt 5, MikTex 2.2 in Windows
use package pdftricks.sty and write in the preamble:
\usepackage{ifpdf}
\ifpdf
\usepackage[shell]{pdftricks}
\begin{psinputs}
\usepackage{pstricks}
\end{psinputs}
\else
\usepackage{pstricks}
\newenvironment{pdfpic}{}{}
\fi
now put every pstricks environment into
\begin{pdfpic}
...
\end{pdfpic}
and run
pdflatex -shell-escape file.tex
pdftricks creates mini texfiles, which includes only the
pstricks images.
Herbert
More information about the PSTricks
mailing list