ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: duotones
Date: Mon, 27 Dec 2004 17:08:24 +0100	[thread overview]
Message-ID: <41D03378.7010802@wxs.nl> (raw)
In-Reply-To: <20041227121452.GA1736@mnw.art.pl>

Piotr Kopszak wrote:
> Hans, 
> 
> You mentioned recently support for obtaining  duotones. I was grepping
> through the recent sources, but couldn't find any information about
> that. Is it already in the published beta?

actually, multitones for text already work out of the box:

\setupcolors[state=start]

\definecolor [blue]   [c=1,m=.38,y=0,k=.64]
\definecolor [yellow] [c=0,m=.28,y=1,k=.06]

\definecolor [blue-100]   [blue]   [p=1]
\definecolor [yellow-100] [yellow] [p=1]

\definemultitonecolor [combicolor]   [blue=.12,yellow=.28] [c=.1,m=.1,y=.3,k=.1]

\starttext

\startcolor[blue]\blackrule[width=3cm,height=3cm]\stopcolor

\startcolor[yellow]\blackrule[width=3cm,height=3cm]\stopcolor

\startcolor[combicolor]\blackrule[width=3cm,height=3cm]\stopcolor

\stoptext

(the cmyk color spec is the fall back color used on screen; one can preview 
separation in full acrobat)

Hans


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

      parent reply	other threads:[~2004-12-27 16:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-27 12:14 duotones Piotr Kopszak
2004-12-27 15:36 ` duotones Hans Hagen
2004-12-27 16:08 ` Hans Hagen [this message]

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=41D03378.7010802@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.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).