ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Christian Prim <christian.prim@gmx.ch>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ConTeXt-defined colours broken in TikZ in MkIV with latest betas
Date: Thu, 14 May 2015 09:56:00 +0200	[thread overview]
Message-ID: <CA+9XOxpngFsvYvJKmjrn-jqhfrqOM_9rUz8HxvUdoYQDNW7Z9g@mail.gmail.com> (raw)
In-Reply-To: <553C04A2.3000708@wxs.nl>


[-- Attachment #1.1: Type: text/plain, Size: 2147 bytes --]

Thanks Hans

with context-version 2015.05.13 23:52 it finally works on my side! Thanks
for the fix!

Christian

2015-04-25 23:18 GMT+02:00 Hans Hagen <pragma@wxs.nl>:

> On 4/24/2015 3:05 PM, Christian Prim wrote:
>
>> Hi Hans
>>
>> I don't know if the latest beta already has the new code. But I can
>> confirm, that there is still a difference between tikz-colors and
>> context/metafun colors.
>>
>> TikZ translates c=1,m=1 in (native) RGB, that is b=1, which is in some
>> way correct.
>> ConTeXt translates c=1,m=1 in something I couldn't really define
>> (perhaps sRGB or some other color profile) r=0.183... g=0.191...
>> b=0.574... or in Web-Hex: #2e3092
>>
>> or back to cmyk: c=.68, m=.67,k=.43 (which is blue with some key-value
>> compared to TikZ with k=0)
>>
>> So I think that TikZ and ConTeXt don't use the same color profile....
>>
>> Hope it could help somewhat to solve my problem.
>>
>
> your example works ok here (with the tikz def file i made last week)
>
> i also made
>
> \setupcolors[cmyk=no]
> \setupcolors[rgb=no]
> \setupcolors[cmyk=no,rgb=no]
> \setupcolors[state=stop]
>
> working (nothing needed in tikz as the code that interfaces to it does
> that) which will be in the next beta
>
>
> Hans
>
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> ___________________________________________________________________________________
> 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3557 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2015-05-14  7:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-13 17:45 Mojca Miklavec
2015-04-13 18:13 ` Christian Prim
2015-04-13 20:51 ` Hans Hagen
2015-04-14  8:29   ` Christian Prim
2015-04-14  8:42     ` Hans Hagen
2015-04-14  9:54       ` Christian Prim
2015-04-16 19:34         ` Christian Prim
2015-04-16 19:58           ` Hans Hagen
2015-04-16 21:29             ` Christian Prim
2015-04-16 23:27               ` Hans Hagen
2015-04-24 13:05                 ` Christian Prim
2015-04-25 21:18                   ` Hans Hagen
2015-05-14  7:56                     ` Christian Prim [this message]

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=CA+9XOxpngFsvYvJKmjrn-jqhfrqOM_9rUz8HxvUdoYQDNW7Z9g@mail.gmail.com \
    --to=christian.prim@gmx.ch \
    --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).