Jin-Hwan Cho wrote:
In the MetaFun manual (metafun-p.pdf) p.117, you may see an example using the color ".5\MPcolor{cmyyellow}". But I could not generate the color. Could anyone check the attached sample?
You get pretty different results depending on what you write to \setupcolors[conversion=yes/no/always,reduction=yes/no,rgb=yes/no,cmyk=yes/no,mpcmyk=yes/no] but I don't know what exactly they mean. The example in the manual with \MPcolor{cmyyellow} doesn't seem to be proper "cmyk kind of yellow" (c=0.08,m=0,y=0.89,k=0), so Hans probably used a set of setups which handles the .5\MPcolor{cmyyellow} the same way as if it was an "rgb yellow". Does \setupcolors[cmyk=no] suit your needs? However, you have to be aware that your "cmyyellow" won't be y=1 any more, but the yellow mentioned above. Your example results in a color that is (c=.68,m=.71,y=.64,k=.86), so it is still "a kind of OK mixing", but the computer doesn't know in which way you would like the colors to be mixed. An alternative (for brighter colors in this case) is to write .5[\MPcolor{cmyyellow},\MPcolor{cmywhite}] if you define cmykwhite to be something like \definecolor[cmywhite][y=0.00001] What I don't understand is why \definecolor[cmywhite][c=0,y=0,m=0,k=0] is converted to black (even a warning is issued). Mojca