[pstricks] Problems with pstricks-add 2.73

Boris Veytsman borisv at lk.net
Mon Feb 27 01:32:27 CET 2006


Greetings

I've tried to upgrade pstricks-add from 2.18 to 2.73.  Unfortunately,
the new style seem not to work.

Here is a test file (test.tex)

------------------------------------------------------------
\documentclass{article}
\listfiles
\usepackage{pstricks}
\usepackage{pst-math}
\usepackage{pstricks-add}

\begin{document}
\begin{center}
    \psset{xAxisLabel=$x/w$, yAxisLabel=$\Delta E/E_d$, Dx=1, Dy=0.5}
    \begin{psgraph}[arrows=->](0,-1.5)(3.5,0.7){10cm}{4cm}
      \psset{plotpoints=500}
      \psplot[algebraic=true, linewidth=2pt]{0.0000}{3.5}{-EXP(-x)}
    \end{psgraph}
\end{center}

\end{document}
----------------------------------------------------------------

I latex'ed it and got the following file list:

 *File List*
 article.cls    2004/02/16 v1.4f Standard LaTeX document class
  size10.clo    2004/02/16 v1.4f Standard LaTeX file (size option)
pstricks.sty    2005/12/19 v0.31 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2006/02/06 v1.14a `PSTricks' (tvz)
  xcolor.sty    2005/12/21 v2.09 LaTeX color extensions (UK)
   color.cfg    2001/08/31 v1.1 color configuration of teTeX/TeXLive
   dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pst-math.sty    2004/03/20 package wrapper for PSTricks pst-math.tex
pstricks-add.sty    2005/03/03 package wrapper for pstricks-add.tex (hv)
pstricks-add.tex    2005/12/28 v2.73 `PSTricks-add' (hv)
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)
pstricks-add.pro
 ***********


Then I dvips'ed it:

--------------------------------------------------------
dvips  -o test.ps test.dvi
This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com)
' TeX output 2006.02.26:1928' -> test.ps
<texc.pro><pstricks.pro><pst-dots.pro><pst-math.pro><pst-node.pro>
<pstricks-add.pro><texps.pro><special.pro><color.pro>. <cmmi7.pfb>
<cmmi10.pfb><cmr10.pfb>[1] 
---------------------------------------------------------

but whenever I try to see it, I get:

------------------------------------------------------------
gs test.ps
GPL Ghostscript 8.01 (2004-01-30)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /stackunderflow in --moveto--
Operand stack:
   -52.0279
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1047/1123(ro)(G)--   --dict:0/20(G)--   --dict:103/200(L)--   --dict:191/300(L)--   --dict:38/200(L)--   --dict:102/200(L)--
Current allocation mode is local
Current file position is 101635
GPL Ghostscript 8.01: Unrecoverable error, exit code 1
--------------------------------------------------------------

Here is the pstricks.pro used:

%%BeginProcSet: pstricks.pro
%!
% PostScript prologue for pstricks.tex.
% Version 1.00, 2005/09/18
% For distribution, see pstricks.tex.
%

Note that there is no problem with the old 2.18 version of pstricks-add.

-- 
Good luck

-Boris




More information about the PSTricks mailing list