Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-05-14 Thread Christian Prim
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 pra...@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

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-25 Thread Hans Hagen
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.

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-24 Thread Christian Prim
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

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-16 Thread Christian Prim
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

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-16 Thread Christian Prim
Hi Hans is it correct, that with the new beta one can just use rgb-colors using tikz or is there a bug preventing the usage of cmyk-colors as it used to work before? Thanks! Christian PS.: See mail below for MWE showing false cmyk colors in tikz. 2015-04-14 11:54 GMT+02:00 Christian Prim

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-16 Thread Hans Hagen
On 4/16/2015 9:34 PM, Christian Prim wrote: Hi Hans is it correct, that with the new beta one can just use rgb-colors using tikz or is there a bug preventing the usage of cmyk-colors as it used to work before? cmyk should work ok but afaik tikz assumes rgb in some cases so that prohibits

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-16 Thread Hans Hagen
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:

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-14 Thread Christian Prim
Thanks Hans for the fix! I have noticed, that spotcolors can be used in tikz, but they are darker. Is that wanted or a bug? MWE: \usemodule[tikz] \starttext \definecolor[gruen][c=0.52,y=0.86] \definespotcolor[mycol][gruen][p=1] \definespotcolor[mycol_h][gruen][p=0.5]

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-14 Thread Hans Hagen
On 4/14/2015 10:29 AM, Christian Prim wrote: Thanks Hans for the fix! I have noticed, that spotcolors can be used in tikz, but they are darker. Is that wanted or a bug? they will map onto cmyk or rgb depending on definitions ... don't expect advanced context color models to work with tikz

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-14 Thread Christian Prim
Thanks Hans for clarification. But even with simple context color models (that worked before) I get other colors. MWE: \usemodule[tikz] \setupbodyfont[40pt] \starttext \definecolor[mycol][c=0.23,m=0.58,y=0.88,k=0.45] \definecolor[mycol_h][c=0.115,m=0.29,y=0.44,k=0.225]

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-13 Thread Christian Prim
Hi I can confirm this bug. It worked fine for me a week before. It seems to be a bug in one of the latest beta. Thanks for fixing it Christian 2015-04-13 19:45 GMT+02:00 Mojca Miklavec mojca.miklavec.li...@gmail.com: Hi, The following example works in MkII and it works in TeX Live 2014, but

[NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-13 Thread Mojca Miklavec
Hi, The following example works in MkII and it works in TeX Live 2014, but it fails with the latest beta (it draws a black rectangle instead of using the defined colour): \usemodule[tikz] \starttext \definecolor[mycol][r=0.9,g=0.8,b=0.8] \starttikzpicture \fill[mycol] (0, 0) rectangle (2,4);

Re: [NTG-context] ConTeXt-defined colours broken in TikZ in MkIV with latest betas

2015-04-13 Thread Hans Hagen
On 4/13/2015 7:45 PM, Mojca Miklavec wrote: Hi, The following example works in MkII and it works in TeX Live 2014, but it fails with the latest beta (it draws a black rectangle instead of using the defined colour): \usemodule[tikz] \starttext \definecolor[mycol][r=0.9,g=0.8,b=0.8]