From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83898 Path: news.gmane.org!not-for-mail From: Thangalin Newsgroups: gmane.comp.tex.context Subject: Re: Feature Request: define colour in relation to existing colour Date: Wed, 21 Aug 2013 11:27:29 -0700 Message-ID: References: <52148081.8070101@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1920649236==" X-Trace: ger.gmane.org 1377109681 27296 80.91.229.3 (21 Aug 2013 18:28:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Aug 2013 18:28:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 21 20:28:05 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VCD8X-0001vG-JD for gctc-ntg-context-518@m.gmane.org; Wed, 21 Aug 2013 20:28:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2F2A210209; Wed, 21 Aug 2013 20:26:57 +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 nuT0fm5lCKn5; Wed, 21 Aug 2013 20:26:45 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A0A611020A; Wed, 21 Aug 2013 20:26:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F2AAF1020A for ; Wed, 21 Aug 2013 20:26:43 +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 YopkzgVLAUv2 for ; Wed, 21 Aug 2013 20:26:24 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 11C0A10209 for ; Wed, 21 Aug 2013 20:26:24 +0200 (CEST) Original-Received: from mail-oa0-x231.google.com (mail-oa0-x231.google.com [IPv6:2607:f8b0:4003:c02::231]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r7LIRUhq029254 for ; Wed, 21 Aug 2013 20:27:31 +0200 Original-Received: by mail-oa0-f49.google.com with SMTP id n10so1573385oag.22 for ; Wed, 21 Aug 2013 11:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=OesLfB8L/BpOwjlZwSFfZV4iVIjY96hN3C8K3mBQ7MY=; b=t6dSEKIiWy7Nr+hv4TS5CquEDNFpHVJHiDtSDEvldfCy9r3TJgrc8mbgBgdxm9WBQI af7GoiWawatNnP5U23Td4vmZcnuSJgs1vDskHZonInL8z8dIrqBKmiq7X/RgjrEpog+I BcpR+Dl1Ty/SRgW4pCIOYLvRdD/cYImcmSi5LnELrwVdckdkEOKEN0ozvunhXGjVVYKD cVakRcj5ScU/qBkSatUmHFX5LzdFb31V+m86G65gOZzkSfim25OgEOoKZYKsJOeicLwl 8uZMHtvd2SPX1DRaXCCtrWz2tjvCVrsZ+hMGBKx+pNN6NTfLzXmK6Ktk/GW5jWLHoalW /Slw== X-Received: by 10.50.111.48 with SMTP id if16mr1077315igb.23.1377109649825; Wed, 21 Aug 2013 11:27:29 -0700 (PDT) Original-Received: by 10.42.224.72 with HTTP; Wed, 21 Aug 2013 11:27:29 -0700 (PDT) In-Reply-To: <52148081.8070101@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4003:c02::231; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01KfuruR3 - f66d59fd33fd - 20130821 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83898 Archived-At: --===============1920649236== Content-Type: multipart/alternative; boundary=089e013a2d807ea5a904e47953db --089e013a2d807ea5a904e47953db Content-Type: text/plain; charset=ISO-8859-1 For context, here is the question on TeX.SE: http://tex.stackexchange.com/questions/129297/define-colour-transparency-in-relation-to-existing-colour I agree with Marco: Are you sure it's a good idea to add another colour definition > mechanism? Then we have > \definecolor \defineglobalcolor \definenamedcolor \definespotcolor \definemultitonecolor \defineprocesscolor That is a little confusing. I can understand a speed requirement, but surely that can be taken into consideration beneath the definition? \definecolor[A][r=1, g=0, b=0] \definecolor[B][A][a=1, t=0.5] That seems fairly reasonable. Also, why not embed colour spaces within the command? \definecolor[A][colorspace=spot] \definecolor[A][colorspace=multitone] \definecolor[A][colorspace=pantone] One command to define a colour, rather than several commands for specific variations of defining colours. Kind regards. --089e013a2d807ea5a904e47953db Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
For context, here is the que= stion on TeX.SE:

http://tex= .stackexchange.com/questions/129297/define-colour-transparency-in-relation-= to-existing-colour

I agree with Marco:

Are you sure it's a good idea to add another colour definition mechanism? Then we have
=A0 \definecolor
=A0= \defineglobalcolor
=A0 \definenamedcolor
=A0 \definespotcolor
=A0= \definemultitonecolor
=A0 \defineprocesscolor
Tha= t is a little confusing. I can understand a speed requirement, but surely t= hat can be taken into consideration beneath the definition?

\definecolor[A][r=3D1, g=3D0, b= =3D0]
\definecolor[B][A][a=3D1, t= =3D0.5]

That seems fairly reasonable. Also, why not embe= d colour spaces within the command?

=A0=A0=A0 \definecolor[A][colorspace=3Dspot]
=A0=A0=A0 \define= color[A][colorspace=3Dmultitone]
=A0=A0=A0 \definecolor[A][colorspace=3D= pantone]

One command to define a colour, rather than several c= ommands for specific variations of defining colours.

Kind regards.
--089e013a2d807ea5a904e47953db-- --===============1920649236== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1920649236==--