From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68444 Path: news.gmane.org!not-for-mail From: Duncan Hothersall Newsgroups: gmane.comp.tex.context Subject: MP spot color in gradient - help! Date: Tue, 17 May 2011 11:24:12 +0100 Message-ID: <4DD24CCC.7090407@capdm.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1305627913 14047 80.91.229.12 (17 May 2011 10:25:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 17 May 2011 10:25:13 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue May 17 12:25:09 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QMHSb-0002Wp-IO for gctc-ntg-context-518@m.gmane.org; Tue, 17 May 2011 12:25:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6098BCACFE; Tue, 17 May 2011 12:25:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rwkTIn8F45lG; Tue, 17 May 2011 12:25:02 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BE547CACFB; Tue, 17 May 2011 12:25:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E7CBBCACFB for ; Tue, 17 May 2011 12:24:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kZmdjKDlij5L for ; Tue, 17 May 2011 12:24:58 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 32B16CAC8D for ; Tue, 17 May 2011 12:24:58 +0200 (CEST) Original-Received: from mail.capdm.com (iona.capdm.com [212.20.255.168]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4HAOvKj006980 for ; Tue, 17 May 2011 12:24:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by mail.capdm.com (Postfix) with ESMTP id A4E028C7D39 for ; Tue, 17 May 2011 11:24:56 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at mail.capdm.com Original-Received: from mail.capdm.com ([127.0.0.1]) by localhost (mail.capdm.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3CoFpm1hM32q for ; Tue, 17 May 2011 11:24:37 +0100 (BST) Original-Received: from [127.0.0.1] (lynx.capdm.com [212.20.255.162]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: dh) by mail.capdm.com (Postfix) with ESMTPSA id 4C94A8C2F9E for ; Tue, 17 May 2011 11:24:37 +0100 (BST) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.9) Gecko/20100825 Lightning/1.0b2 Thunderbird/3.1.3 X-Bayes-Prob: 0.0007 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.20.255.168; country=GB; latitude=54.0000; longitude=-2.0000; http://maps.google.com/maps?q=54.0000,-2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rEIyoVvb - a9ee2f6b4796 - 20110517 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:68444 Archived-At: 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 ___________________________________________________________________________________