<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=US-ASCII">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY id=role_body style="FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Arial" 
bottomMargin=7 leftMargin=7 topMargin=7 rightMargin=7><FONT id=role_document 
face=Arial color=#000000 size=2>
<DIV>The new version of PSTricks creates problems with colors defined with 
postscript.<BR>I use a macro of the type: </DIV>
<DIV>&nbsp;</DIV>
<DIV>newcommand{\NewColorRGB}[2]{\@newcolor{#1}{#2 setrgbcolor}}</DIV>
<DIV><BR>it worked very well previously. </DIV>
<DIV>That always works in the following example, but does not work if I call 
PSTricks by \usepackage{pstricks}:</DIV>
<DIV>&nbsp;</DIV>
<DIV>The cause seems to be in pstricks.sty.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Can you find a solution of this problem ?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Manuel Luque</DIV>
<DIV>&nbsp;</DIV>
<DIV>\documentclass{minimal}<BR>%\usepackage{pstricks}<BR>\input{pstricks.tex}</DIV>
<DIV>&nbsp;</DIV>
<DIV>\makeatletter<BR>\newcommand{\NewColorRGB}[2]{\@newcolor{#1}{#2 
setrgbcolor}}<BR>\makeatother</DIV>
<DIV>&nbsp;</DIV>
<DIV>\begin{document}<BR>\NewColorRGB{MyColorTest}{0.5 0.5 add % red&nbsp;&nbsp; 
100%<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
1 2 div&nbsp;&nbsp;&nbsp;&nbsp; % green 
50%<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
1 4 div&nbsp;&nbsp;&nbsp;&nbsp; % blue 
25%<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
}<BR>\begin{pspicture}(10,6)<BR>\psline[linecolor=MyColorTest](10,6)<BR>\end{pspicture}<BR>\end{document}</DIV></FONT></BODY></HTML>