On Mon, 11 May 2009, Hans Hagen wrote:
Peter Rolf wrote:
Hi,
hex colors don't work anymore in mkii (no problems in mkiv). All I get is
black (reminds me of a song by the Rolling Stones)...
I see a red door and I want it painted black
No colors anymore I want them to turn black
...
Minimal example:
----------------
\setupcolors[state=start]
\setupcolor[hex] % load hex color module
\definecolor[hextest][h=00FF00]
\starttext
\startMPcode
fill unitsquare xyscaled(5cm,5cm) withcolor \MPcolor{hextest};
\stopMPcode
\stoptext
hm so it's actually used ... make a file colo-hex.tex:
I also use hex colors in the vim module (I personally haven't used the
vim module in some time, but there are users who use it).
Aditya
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________