ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ConTeXt-defined colours broken in TikZ in MkIV with latest betas
Date: Fri, 17 Apr 2015 01:27:10 +0200	[thread overview]
Message-ID: <5530454E.5090706@wxs.nl> (raw)
In-Reply-To: <1429219797.10528.0@smtp.gmail.com>

On 4/16/2015 11:29 PM, Christian Prim wrote:
> Hi Hans
>
> sorry to ask again. But the different color handling between
> context-version before 2015.04.14 00:54 and
> context-version 2015.04.14 00:54 is remarkable and annoying.
>
> See attached pdf-documents. Both have exactly the same source:
>
> \usemodule[tikz]
> \setupbodyfont[40pt]
> \starttext
> \definecolor[mycola][c=0.23,m=0.58,y=0.88,k=0.45]
> \definecolor[mycolb][c=0.115,m=0.29,y=0.44,k=0.225]
> \definecolor[mycolc][c=0.055,m=0.145,y=0.22,k=0.1125]
>
> \starttikzpicture
> \node[fill=mycola,rectangle, minimum height=4cm,minimum
> width=2cm,anchor=south west] {\startcolor[mycola]T\stopcolor};
> \node[fill=mycolb,rectangle, minimum height=4cm,minimum
> width=2cm,anchor=south west] at (2,0) {\startcolor[mycolb]T\stopcolor};
> \node[fill=mycolc,rectangle, minimum height=4cm,minimum
> width=2cm,anchor=south west] at (4,0) {\startcolor[mycolc]T\stopcolor};
> \stoptikzpicture
> \stoptext
>
> I write in each box the letter T with exactly the same color as the
> underlying box. Textcolor is set using context, fill color of the box is
> set using tikz.
>
> old.pdf shows the correct color handling. The letter T has exactly the
> same color as the box and therefore disappears.
>
> With newest beta (new.pdf) the letter T is visible.
>
> Must I now stay with an old beta or can this "bug" be fixed? Perhaps
> it's a bug in tikz...

i found out that it relates to the lack of gray support (which in fact 
seems to be rgb support)

so the next beta might work ok for you (no upload yet)

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
___________________________________________________________________________________

  reply	other threads:[~2015-04-16 23:27 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 [this message]
2015-04-24 13:05                 ` Christian Prim
2015-04-25 21:18                   ` Hans Hagen
2015-05-14  7:56                     ` Christian Prim

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=5530454E.5090706@wxs.nl \
    --to=pragma@wxs.nl \
    --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).