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]
\starttikzpicture
\fill[mycol] (0, 0) rectangle (2,4);
\stoptikzpicture
\stoptext
It would be really nice to fix this in time for TeX Live 2015.
Hm, i'm a bit puzzled why some suggested patched are nto in the distribution. Anyway, attached a more modern variant
you need a beta that i just uploaded because i found out that when tijz predefines some mixed colors it assumes rgb color space
your example then runs ok here
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
___________________________________________________________________________________