Re: [NTG-context] beta (11.05.2009): hex colors in mkii

2009-05-11 Thread Hans Hagen

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:

% this is just a stub

\loadmarkfile{colo-hex}


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] beta (11.05.2009): hex colors in mkii

2009-05-11 Thread Peter Rolf

Hans Hagen schrieb:

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:

yep. not useful if you define the colors by hand, but perfect (very 
small size) for automated rgb color palette conversions (xml colors - 
tex colors).


thx.


% this is just a stub

\loadmarkfile{colo-hex}


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___ 





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


Re: [NTG-context] beta (11.05.2009): hex colors in mkii

2009-05-11 Thread Aditya Mahajan

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
___