[pstricks] Error with pst-eps

Herbert Voss LaTeX at zedat.fu-berlin.de
Tue Nov 7 15:05:15 CET 2006


Alan Ristow schrieb:
> Hi all,
> 
> I'm experimenting with pst-eps and when I run the code below LaTeX tells me:
> 
> PSTricks error.  See User's Guide for further information.
>                   Type  H <return>  for immediate help.
> ! File `pstricks.pro' not found.
> \@pstrickserr ... immediate help.}\errmessage {#1}
>                                                    \endgroup
> 
> I have pstricks.pro properly installed in $TEXMF/dvips/pstricks and have 
> no trouble with PSTricks whatsoever unless I use pst-eps. If I set 
> headers=none in \PSTtoEPS the graphics display perfectly in the output 
> file (though the text doesn't). The resulting EPS file can't be 
> displayed on its own, but it can be included in the main document just 
> fine (which would seem to indicate the main document finds pstricks.pro 
> just fine). I had a look at pst-eps.tex, but no obvious causes for this 
> error jump out at me.

pleas send me the pes

> I'm guessing that \PSTtoEPS only works for graphics objects and that 
> this is the reason the text I place with \rput doesn't show up. Correct?

yes, it works on PostScript side and the \rput works on
TeX side.

This works for me:

\listfiles
\documentclass{article}%
\usepackage{graphicx}%
\usepackage{pstricks}%
\usepackage{pst-eps}%
\begin{document}

\psset{makeeps=all}%
\PSTtoEPS[bbllx=0, bblly=0, bburx=5, bbury=5, headers=all]{test.eps}{%
   \psframe(1,1)(4,4)
   \pscustom{\moveto(1.5,2.5)
     \code{
       /Times findfont 10 scalefont setfont (Hello, world) show}}%
}

\includegraphics{test}

\end{document}



Herbert



More information about the PSTricks mailing list