[pstricks] pst-grad

Ioan E. Lager i.lager at ewi.tudelft.nl
Mon Jul 23 10:54:45 CEST 2007


Dear PSTricks colleagues,

Quite likely is PSTricks the LaTeX package that I explicitly used the most.
Nonetheless, despite using it for so many years, I must honestly say that I did
it on a very "basic" manner, with very old, deeply-entrenched habits from the
2.09 era. This puts me in some difficulty when trying to experiment with the
more advanced tools that are provided by the package.

Recently, I wanted to add "gradient" features to my PSTricks figures. However,
I failed completely to get usable results. The small codes that I generated
were compiled and the dvips went well, but Ghostview does not render the files,
aborting with an error message. 

Enclosed, please find the PSTricks sequence I used and the LaTeX and dvips
outputs. Furthermore, I also enclosed the error reported by Ghostview. 

I should be extremely grateful if you enlightened me a bit in the matter. I
thank you in advance for your kind help.

With Best Regards,

Hansi.



\begin{figure}
\Cartesian(1cm,1cm)
\pspicture(0,0)(10,10)
\psframe[fillstyle=gradient,gradmidpoint=1,gradangle=45](4,2)
\endpspicture
\end{figure}

=====================================================================

This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5)
entering extended mode
(test.tex
LaTeX2e <2005/12/01>
Babel <v3.8g> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
(report_head.cls
Document Class: report_head 2005/09/16 v1.4f Modified Standard LaTeX document c
lass - last updated 13.06.2007
(C:\texmf\tex\latex\base\size11.clo)) (Continuation_proposal.sty
(C:\texmf\tex\latex\amsfonts\amssymb.sty
(C:\texmf\tex\latex\amsfonts\amsfonts.sty))
(C:\texmf\tex\latex\pstricks\pstricks.sty
(C:\texmf\tex\generic\pstricks\pstricks.tex
`PSTricks' v1.15  <2006/12/22> (tvz)
(C:\texmf\tex\latex\New\pstricks.con)) (C:\texmf\tex\latex\xcolor\xcolor.sty
(C:\texmf\tex\latex\00miktex\color.cfg) (C:\texmf\tex\latex\graphics\dvips.def)
)) (C:\texmf\tex\latex\New\pst-node.sty (C:\texmf\tex\latex\New\pst-node.tex
 v97 patch 4, 1997/09/26)) (C:\texmf\tex\latex\New\pst-grad.sty
(C:\texmf\tex\latex\New\pst-grad.tex  v97 patch 1, 1997/04/28))
(C:\texmf\tex\latex\psnfss\helvet.sty (C:\texmf\tex\latex\graphics\keyval.sty))
 (C:\texmf\tex\latex\tools\enumerate.sty)
(C:\texmf\tex\latex\graphics\graphicx.sty
(C:\texmf\tex\latex\graphics\graphics.sty (C:\texmf\tex\latex\graphics\trig.sty
) (C:\texmf\tex\latex\00miktex\graphics.cfg)))
(C:\texmf\tex\latex\New\Rainbow.sty) (C:\texmf\tex\latex\multirow\multirow.sty)
) (test.aux) [1] (test.aux) )
Output written on test.dvi (1 page, 704 bytes).
Transcript written on test.log.

=====================================================================

This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2007.07.23:1048' -> test.ps
<tex.pro><pstricks.pro><pst-dots.pro><pst-node.pro><pst-grad.pro>
<special.pro><color.pro>. [1]

=====================================================================

GHOSTVIEW ERROR:

%%Page: 1 1
TeXDict begin 1 0 bop 0 TeXcolorgray Black 0 TeXcolorgray
-125 4233 a @beginspecial @setspecial
 tx at Dict begin STP newpath 0.8 SLW 0  setgray  0. true 0.0 0.0 113.81097
56.90549 .5 Frame  gsave gsave 0 0.1 0.95  setrgbcolor currentrgbcolor
grestore gsave 0 1 1  setrgbcolor currentrgbcolor grestore 300 1. 45.
tx at GradientDict begin GradientFill end grestore gsave 0.8 SLW 0  setgray
0 setlinecap stroke  grestore end
 
@endspecial Black
0 TeXcolorgray Black eop end

--- End offending input ---
file offset = 0
gsapi_run_string_continue returns -17

--------------------------------------------------

Ioan E. Lager

Business address:
    International Research Centre for
    Telecommunications and Radar,
    Faculty of Electrical Engineering, Mathematics
    and Computer Science,
    Delft University of Technology,
    Mekelweg 4,
    2628 GA Delft,
    the Netherlands.

Office phone:
    +31-(0)15-278.5591
Fax:
    +31-(0)15-278.4046

E-mail:
     I.Lager at EWI.TUDelft.NL
     I.Lager at IEEE.org

WWW links:
     www.irctr.tudelft.nl
     www.emlab.its.tudelft.nl

-------------------------------------------------- 




More information about the PSTricks mailing list