![](https://secure.gravatar.com/avatar/44ca9eda7aaa681c0e3b3e90125c56b0.jpg?s=120&d=mm&r=g)
Am 07.05.2012 10:05, schrieb Hans Hagen:
On 24-4-2012 18:03, Peter Rolf wrote:
Hi,
just playing around with spot colors and run into this problem. tested with 23.04.2012 and ??.11.2011, same result. the color definition leads to an invalid pdf.
% multitone.tex---- \nopdfcompression \setuppagenumber[state=stop] \definemultitonecolor[combicolor] [blue=.12,yellow=.28] [c=.1,m=.1,y=.3,k=.1]
\starttext \null \stoptext %------------------
I also attached the original example (spot.tex).
You need to define the colorants as spot color first. It happens that yellow is an official built in colorant but blue isn't.
\nopdfcompression
\definecolor [xcyan] [c=1] \definecolor [xmagenta][m=1] \definecolor [xyellow] [y=1]
\definespotcolor [scyan] [xcyan] [p=1] \definespotcolor [smagenta][xmagenta][p=1] \definespotcolor [syellow] [xyellow] [p=1]
\definemultitonecolor[scombi] [xcyan=.2,xmagenta=.4,xyellow=.6][c=.2,m=.4,y=.6]
\startTEXpage \hbox \bgroup \blackrule[color=scyan, width=1cm,height=1cm,depth=0cm]% \blackrule[color=smagenta,width=1cm,height=1cm,depth=0cm]% \blackrule[color=syellow, width=1cm,height=1cm,depth=0cm]% \blackrule[color=scombi, width=1cm,height=1cm,depth=0cm]% \egroup \stopTEXpage
OK. I simply used the multitone example (spot.tex) from the Wiki. http://wiki.contextgarden.net/Colors#Multitones I have updated the outdated example (12/2004), but I can't tell much about spot or multitone colors (never used them). @all: feel free to add some sentences Peter