From: Peter Rolf <indiego@gmx.net>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: multitone color problem
Date: Mon, 07 May 2012 12:39:43 +0200 [thread overview]
Message-ID: <4FA7A66F.7020109@gmx.net> (raw)
In-Reply-To: <4FA78261.5080202@wxs.nl>
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
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2012-05-07 10:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-24 16:03 Peter Rolf
2012-05-07 8:05 ` Hans Hagen
2012-05-07 10:39 ` Peter Rolf [this message]
2012-05-07 10:58 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FA7A66F.7020109@gmx.net \
--to=indiego@gmx.net \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).