ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: colors in pgf within context
Date: Tue, 19 Feb 2008 11:33:12 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.1.00.0802191131420.1872@nqv-yncgbc> (raw)
In-Reply-To: <200802190920.25732.alan.braslau@cea.fr>

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	other threads:[~2008-02-19 16:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m2bq6dvj38.fsf@DNab422469.Stanford.EDU>
2008-02-19  2:43 ` Aditya Mahajan
2008-02-19  3:33   ` Jesse Alama
2008-02-19  3:47     ` Aditya Mahajan
     [not found]       ` <alpine.DEB.1.00.0802182252560.21564@nqv-yncgbc>
2008-02-19  4:56         ` Jesse Alama
2008-02-19  8:20       ` Alan BRASLAU
2008-02-19 16:33         ` Aditya Mahajan [this message]
2008-02-19 17:36       ` Jesse Alama
2008-02-19 17:57         ` Aditya Mahajan
2008-02-19 18:30           ` Jesse Alama
2008-02-19 18:54             ` Jesse Alama
2008-02-19  8:50     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.1.00.0802191131420.1872@nqv-yncgbc \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).