ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Duncan Hothersall <dh@capdm.com>
To: ntg-context@ntg.nl
Subject: MP spot color in gradient - help!
Date: Tue, 17 May 2011 11:24:12 +0100	[thread overview]
Message-ID: <4DD24CCC.7090407@capdm.com> (raw)

  Struggling against a deadline here so apologies for no full sample.

I have a gradient fill defined using


\startuseMPgraphic{mpos:par:mylearnobj}
path p;
for i = 1 upto nofmultipars :
p := multipars[1] topenlarged 8pt bottomenlarged 8pt leftenlarged 3cm ;
color ca ; ca := \MPcolor{greenthirty} ;
color cb ; cb := \MPcolor{white} ;
sh := define_linear_shade(origin, origin shifted (120mm,0), ca, cb) ;
fill p withshade sh ;
endfor;
\stopuseMPgraphic


This works if the colour "greenthirty" is defined as a CMYK colour

\definecolor[TAXBgreenthirty][c=.3,m=0,y=.057,k=.069]

but, inevitably, my printer wants it defined as a spot ink, and when I 
do this:

\definecolor[PantoneThreeOneFourFive][c=1,m=0,y=.19,k=.23]
\definespotcolor[TAXBgreenthirty][PantoneThreeOneFourFive][p=.3]

the gradient turns to black instead of green. (The spot colour 
definition works fine in the rest of the document, just not in the 
gradient fill.)

Could someone possibly let me know if it is even possible to define a 
gradient using a spot colour, or if I should instead revert to some 
alternative solution.

Thanks,

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


             reply	other threads:[~2011-05-17 10:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-17 10:24 Duncan Hothersall [this message]
2011-05-17 11:16 ` Hans Hagen
2011-05-17 11:22   ` Duncan Hothersall
2011-05-17 11:59 ` Henning Hraban Ramm
2011-05-17 12:03   ` Hans Hagen
2011-05-17 12:10     ` luigi scarso
2011-05-17 19:01     ` Henning Hraban Ramm

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=4DD24CCC.7090407@capdm.com \
    --to=dh@capdm.com \
    --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).