[Tugindia] Colors in prosper

Sridhar M.A. tugindia@tug.org
Wed, 2 Oct 2002 21:14:28 +0530


On Wed, Oct 02, 2002 at 12:57:02PM +0200, David Kastrup wrote:
   > 
   > Perhaps \usepackage{pstcol} might help?
   > 
I did not post that. Well, if I include pstcol, the file does not even
compile. Here is the error I get:

  ...
  (/usr/share/texmf/tex/generic/pstricks/pst-grad.sty
  (/usr/share/texmf/tex/generic/pstricks/pst-grad.tex  v97 patch 1, 1997/04/28))
  (/usr/share/texmf/tex/latex/amsfonts/amssymb.sty
  (/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty))
  (/usr/share/texmf/tex/latex/psnfss/times.sty)))
  (/usr/share/texmf/tex/generic/pstricks/pstricks.sty
  (/usr/share/texmf/tex/generic/pstricks/pstricks.tex))
  (/usr/share/texmf/tex/generic/pstricks/pst-node.sty
  (/usr/share/texmf/tex/generic/pstricks/pst-node.tex  v97 patch 11, 2000/11/09))
   (/usr/share/texmf/tex/generic/pstricks/pst-text.sty
  (/usr/share/texmf/tex/generic/pstricks/pst-text.tex  v97, 1997/03/25))
  (/usr/share/texmf/tex/latex/graphics/pstcol.sty
  (/usr/share/texmf/tex/latex/graphics/color.sty
  (/usr/share/texmf/tex/latex/config/color.cfg)
  (/usr/share/texmf/tex/latex/graphics/dvipsnam.def)

  ! LaTeX Error: Missing \begin{document}.

  See the LaTeX manual or LaTeX Companion for explanation.
  Type  H <return>  for immediate help.
   ...                                              
                                                    
  l.159   \definecolor{black}{gray}{0}
                                      
  ? 

This I noticed even before the item problem. I cannot use the
definecolor to define new colors. This has been mentioned in the
Graphics Companion which does not work. Later found out that in prosper,
I should not include pstcol, but use \newrgbcolor to define my colors.

Regards,

-- 
Sridhar M.A.

	"The jig's up, Elman."
	"Which jig?"
		-- Jeff Elman