On Tue, 19 Feb 2008, Alan BRASLAU wrote:

> Hello,
>
> Another problem with PGF+ConTeXt is the handling of cmyk colors:
>
> \usemodule[tikz]
> \setupcolors[state=start]
> \definecolor[my_yellow][c=0,m=0.3,y=0.94,k=0]
> \starttext
> \startcolor[my_yellow]
> Yellow text.
> \stopcolor
> \starttikzpicture
>       \fill[my_yellow] (0,0) circle(1);
> \stoptikzpicture
> \stoptext
>
> CMYK colors work in ConTeXt but do not get passed correctly to PGF/TikZ.
> A work-around is to transform to rgb :
> \definecolor[my_yellow][r=0.98,g=0.698,b=0.09] % 250,178,23 #FAB217
>
> This seems to be a documented bug; Perhaps it will be fixed someday...

Please report it again on the pgf mailing list. Till Tantau is making 
significant changes to pgf and I do not think it should be too difficult 
for pgf to support cmyk color model in ConTeXt.

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to