[pstricks] problems using dvipsnames, svgnames

McGarry Vince vmcgarry at austin.rr.com
Thu Oct 12 04:38:48 CEST 2006


I've been trying to compile the following from pstricks-add.doc, but  
there seem to be some problems. Some names are recognized, but not  
others.

%---------

\listfiles
\documentclass{minimal}

\usepackage[dvipsnames,svgnames]{xcolor}
\usepackage{pstricks}
\usepackage{pstricks-add}

\begin{document}
\psset 
{unit=2,algebraic=true,VarStep=true,showpoints=true,VarStepEpsilon=.001}
\def\getColor#1{\ifcase#1 Tan\or RedOrange\or magenta\or yellow\or  
green\or Orange\or blue\or DarkOrchid\or BrickRed\or Rhodamine\or  
OliveGreen \or Goldenrod\or Mahogany\or OrangeRed\or CarnationPink  
\or RoyalPurple \or Lavender\fi}
\begin{pspicture}[showgrid=true](0,-1.2)(7,1.5)
	\psclip{\psframe[linestyle=none](0,-1.1)(7,1.1)}
	\multido{\in=0+1}{16}{%
	\psplot[algebraic=true,linecolor=\getColor{\in}]{0.1}{7}{Derive 
(\in,Sum(i,0,1,7,(-1) ^i *x^(2*i)/Fact(2*i)))}}
	\endpsclip
\end{pspicture}

\end{document}

%---------

Here is my log.

%---------

### This is /usr/local/teTeX/bin/powerpc-apple-darwin-current/ 
simpdftex, Version $Revision: 2.18 $
### /usr/local/teTeX/bin/powerpc-apple-darwin-current/latex Color- 
Test.tex
This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
entering extended mode
(./Color-Test.tex
LaTeX2e <2005/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german,  
ngerman, d
utch, italian, norsk, portuges, spanish, swedish, nohyphenation, loaded.
(/usr/local/teTeX/share/texmf.local/tex/latex/base/minimal.cls
Document Class: minimal 2001/05/25 Standard LaTeX minimal class
) (/usr/local/teTeX/share/texmf.local/tex/latex/xcolor/xcolor.sty
(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/color.cfg)
(/usr/local/teTeX/share/texmf.local/tex/latex/graphics/dvips.def)
(/usr/local/teTeX/share/texmf.local/tex/latex/graphics/dvipsnam.def)
(/usr/local/teTeX/share/texmf.local/tex/latex/xcolor/svgnam.def))
(/usr/local/teTeX/share/texmf.local/tex/latex/pstricks/pstricks.sty
(/usr/local/teTeX/share/texmf.local/tex/generic/pstricks/pstricks.tex
`PSTricks' v1.14b  <2006/04/20> (tvz)
(/usr/local/teTeX/share/texmf.local/tex/generic/pstricks/pstricks.con)))
(/usr/local/teTeX/share/texmf.local/tex/latex/pstricks/pstricks-add.sty
(/usr/local/teTeX/share/texmf.local/tex/generic/pstricks/pstricks- 
add.tex
(/usr/local/teTeX/share/texmf.local/tex/generic/pstricks/pst-plot.tex
v97 patch 2, 1999/12/12
(/usr/local/teTeX/share/texmf.tetex/tex/generic/multido/multido.tex
v1.41, 2004/05/18 <tvz>))
(/usr/local/teTeX/share/texmf.local/tex/generic/pstricks/pst-node.tex
v97 patch 11, 2000/11/09)
(/usr/local/teTeX/share/texmf.local/tex/generic/xkeyval/pst-xkey.tex
(/usr/local/teTeX/share/texmf.local/tex/latex/xkeyval/xkeyval.sty
(/usr/local/teTeX/share/texmf.local/tex/generic/xkeyval/xkeyval.tex
(/usr/local/teTeX/share/texmf.local/tex/generic/xkeyval/keyval.tex))))
`pstricks-add' v2.81, 2006/10/03 (dr,hv)))
No file Color-Test.aux.

! Package xcolor Error: Undefined color `OliveGreen '.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
...

l.14 ...Sum(i,0,1,7,(-1) ^i *x^(2*i)/Fact(2*i)))}}

?

! Package xcolor Error: Undefined color `CarnationPink '.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
...

l.14 ...Sum(i,0,1,7,(-1) ^i *x^(2*i)/Fact(2*i)))}}

?

! Package xcolor Error: Undefined color `RoyalPurple '.

See the xcolor package documentation for explanation.
Type  H <return>  for immediate help.
...

l.14 ...Sum(i,0,1,7,(-1) ^i *x^(2*i)/Fact(2*i)))}}

?
[1] (./Color-Test.aux)

*File List*
minimal.cls    2001/05/25 Standard LaTeX minimal class
   xcolor.sty    2005/12/21 v2.09 LaTeX color extensions (UK)
    color.cfg    2005/02/03 v1.3 color configuration of teTeX/TeXLive
    dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
dvipsnam.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
   svgnam.def    2005/12/21 v2.09 Predefined colors according to SVG  
1.1 (UK)
pstricks.sty    2005/12/19 v0.31 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2006/04/20 v1.14b `PSTricks' (tvz)
pstricks-add.sty    2005/03/03 package wrapper for pstricks-add.tex (hv)
pstricks-add.tex    2006/10/03 v2.81 `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)
***********

)
Output written on Color-Test.dvi (1 page, 40080 bytes).
Transcript written on Color-Test.log.
### WARNING: TeX returned non zero exit status
### /usr/local/teTeX/bin/powerpc-apple-darwin-current/dvips -R - 
Poutline  -o /tmp/altpdflatex.23935-1160613150/Color-Test.ps Color- 
Test.dvi
This is dvips(k) 5.95b Copyright 2005 Radical Eye Software  
(www.radicaleye.com)
' TeX output 2006.10.11:1932' -> /tmp/altpdflatex.23935-1160613150/ 
Color-Test.ps
<tex.pro><pstricks.pro><pst-dots.pro><pst-node.pro><pstricks-add.pro>
<special.pro><color.pro>. [1]
### ps2pdf13 /tmp/altpdflatex.23935-1160613150/Color-Test.ps /tmp/ 
altpdflatex.23935-1160613150/Color-Test.pdf
### Copying/moving pdf file /tmp/altpdflatex.23935-1160613150/Color- 
Test.pdf to Color-Test.pdf
### Succesfully generated Color-Test.dvi and Color-Test.pdf

%---------





More information about the PSTricks mailing list