ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* MP spot color in gradient - help!
@ 2011-05-17 10:24 Duncan Hothersall
  2011-05-17 11:16 ` Hans Hagen
  2011-05-17 11:59 ` Henning Hraban Ramm
  0 siblings, 2 replies; 7+ messages in thread
From: Duncan Hothersall @ 2011-05-17 10:24 UTC (permalink / raw)
  To: ntg-context

  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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-05-17 19:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-17 10:24 MP spot color in gradient - help! Duncan Hothersall
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

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