[pstricks] Error with pst-eps

Alan Ristow ristow at ece.gatech.edu
Tue Nov 7 00:35:31 CET 2006


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.

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?

Alan


\documentclass{article}%
\usepackage[dvips]{graphicx}%
\usepackage{pstricks}%
\usepackage{pst-eps}%

\listfiles%

\begin{document}

% The following works:
\begin{pspicture}(0,0)(5,5)%
   \psframe(1,1)(4,4)%
   \rput[c](2.5,2.5){Hello, world!}%
\end{pspicture}

% This does not work:
\psset{checkfile=true, makeeps=all}%
\PSTtoEPS[bbllx=0, bblly=0, bburx=5, bbury=5, headers=all]%
{test.eps}{%
   \psframe(1,1)(4,4)%
   \rput[c](2.5,2.5){Hello, world!}%
}%
\includegraphics{test}%

\end{document}%

  *File List*
     test.tex
  article.cls    2005/09/16 v1.4f Standard LaTeX document class
   size10.clo    2005/09/16 v1.4f Standard LaTeX file (size option)
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
   keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
graphics.sty    2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
     trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2005/12/29 v1.2 MiKTeX 'graphics' configuration
    dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pstricks.sty    2006/08/10 v0.32 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2006/04/29 v1.14c `PSTricks' (tvz)
   xcolor.sty    2005/12/21 v2.09 LaTeX color extensions (UK)
    color.cfg    2005/12/29 v1.1 MiKTeX 'color' configuration
  pst-eps.sty    2005/05/20 package wrapper for pst-eps.tex (hv)
  pst-eps.tex    2006/11/04 1.00 `pst-eps' (tvz)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
  xkeyval.sty    2005/11/25 v2.5e package option processing (HA)
  xkeyval.tex    2005/11/25 v2.5e key=value parser (HA)
     test.eps    Graphic file (type eps)
  ***********




More information about the PSTricks mailing list