From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39207 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: colors in pgf within context Date: Tue, 19 Feb 2008 11:33:12 -0500 (EST) Message-ID: References: <200802190920.25732.alan.braslau@cea.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1203438850 27944 80.91.229.12 (19 Feb 2008 16:34:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Feb 2008 16:34:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 19 17:34:35 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JRVQK-00044x-Fu for gctc-ntg-context-518@m.gmane.org; Tue, 19 Feb 2008 17:34:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A62911FB4E; Tue, 19 Feb 2008 17:33:57 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07653-01-4; Tue, 19 Feb 2008 17:33:15 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9FB2B1FB71; Tue, 19 Feb 2008 17:33:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 909501FB4E for ; Tue, 19 Feb 2008 17:33:13 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08019-01-2 for ; Tue, 19 Feb 2008 17:32:40 +0100 (CET) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by ronja.ntg.nl (Postfix) with ESMTP id 7E5691FB71 for ; Tue, 19 Feb 2008 17:32:37 +0100 (CET) Original-Received: FROM adi-laptop.local (c-68-40-40-75.hsd1.mi.comcast.net [68.40.40.75]) BY skycaptain.mr.itd.umich.edu ID 47BB04A2.A193A.5534 ; 19 Feb 2008 11:32:35 -0500 In-Reply-To: <200802190920.25732.alan.braslau@cea.fr> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:39207 Archived-At: 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 ___________________________________________________________________________________