[NTG-context] cmyk in metapost

2011-06-26 Thread Hans van der Meer
I must be doing something wrong. But what? Relevant part of Metapost code: numeric Cb, Cr, Y, T, temp, graycolors; Cb := 0; Cr := 1; Y = 2; T := 3; graycolors := 15; numeric colors[][];for i = 0 upto graycolors: temp := (graycolors - i) / graycolors; colors[i][Cb] := temp;

Re: [NTG-context] cmyk in metapost

2011-06-26 Thread Hans Hagen
On 26-6-2011 1:51, Hans van der Meer wrote: I must be doing something wrong. But what? Relevant part of Metapost code: I got the code from the Metafun manual. Beta from ConTeXt ver: 2011.03.28 01:03 MKIV download. Something obvious I am overlooking? cmykcolor is another datatype in mp than