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 -----------------------------------------------------------------