From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 7CD25251AE for ; Sat, 16 Mar 2024 14:57:50 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 00BF1484356 for ; Sat, 16 Mar 2024 14:56:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=jdvb.ca Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mahCt1tfgfVe for ; Sat, 16 Mar 2024 14:56:06 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id AE2BB4843EB for ; Sat, 16 Mar 2024 14:55:25 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 6B1A34841D4 for ; Sat, 16 Mar 2024 14:54:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T8zwpWD1bqOo for ; Sat, 16 Mar 2024 14:54:57 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=67.215.8.22; helo=seout13.web-dns1.com; envelope-from=zlists+context@jdvb.ca; receiver= Received: from seout13.web-dns1.com (seout13.web-dns1.com [67.215.8.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 218984841D3 for ; Sat, 16 Mar 2024 14:54:56 +0100 (CET) Received: from mailpro1.whc.ca ([51.79.16.13]) by se1.web-dns1.com with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rlTyf-00B8z4-5S for ntg-context@ntg.nl; Sat, 16 Mar 2024 09:21:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=jdvb.ca; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=PihJHikUsaMYZLVBe9XDAFhKpxlKt/YKRUUkpydwI7U=; b=JUNHjydktnj3p451MyrTXGlOcA 2anm9rr8s3SjfRhXgFQB4kv8qBHoJvAlLCmh8Qw720gaZSyrXCQjttifAXamDIzunpvT8iX9lyeA5 iPT3roZLARyJ6o7Ivvd2pAd0x52/SGN06vcmQZmx6PVzROdMJYhNFw7vpdTFfg+BNYptQ7A/huqfh 4XmdEFxSYPiWod2AUXrAb220Cc5h2mLUbxscVxdsBt03Z6hGsmnF7FtRho9DAbWy9K9TLFD7dGGjq y/VcveMMumNU32WAc5nXc0sMdRuEGOPaHQZEVJUecUgz/4RBOJh6DwpPqnBE151fE++ByOeeZ0Grb HxKi9YuA==; Received: from [47.55.144.2] (port=45762 helo=x360) by mailpro1.whc.ca with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rlTyY-00E1nT-2F for ntg-context@ntg.nl; Sat, 16 Mar 2024 09:21:33 -0400 Received: by x360 (Postfix, from userid 1000) id 4823F1E0715; Sat, 16 Mar 2024 10:21:26 -0300 (ADT) Date: Sat, 16 Mar 2024 10:21:26 -0300 From: Jim To: mailing list for ConTeXt users Message-ID: References: <5b3c436565692c3da7b76aa4666d9d0c22eeb46b.camel@telus.net> <57b453d4-8b13-46af-b36d-726610bc6a96@xs4all.nl> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <57b453d4-8b13-46af-b36d-726610bc6a96@xs4all.nl> X-Microslop: Just say no X-Originating-IP: 51.79.16.13 X-SpamExperts-Domain: out.mailpro1.whc.ca X-SpamExperts-Username: 51.79.16.13 Authentication-Results: web-dns1.com; auth=pass smtp.auth=51.79.16.13@out.mailpro1.whc.ca X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.28) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9vV0EeGFAtzz2TqPvcKgRLPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5x+OkQ6e4TPVgvpcS1fNw4ZIpdOJ9Sgfu6rKL8kf6cp2RKL Zi40d9hEgZiGlFQL0GvilbHtbFYVmmyNP/jzd7CCzPgfBgZM0FjuQW6Y55dUiQZmnW/XN+tohdLu D74c7RI0ADIbIyQzeIwB+Xs5B5gGg8CBO1Snvm6qXHQp7O9kdfVx4GsWPrj5Abbqhk9i9oABGzKf EMfQP5IsMlZ0RJfOLDnQGgRgHjioU8fpt7xeC7AK0L/uTNt3WCw41GzGb1Zq+pu9ho29CVyp3Dt9 A9c5hLgYgFsBSgLe7UmHHVjYG9GnC3OL+6eaioOqJ1MVeBS8xyVOjEJvIAACfll1FjMqX1/meW3M G7kx6XXEd8YzfeZE7YJwhBWCb1PmFojBOyjXs2KsRjKrCowEavDwQuKo3bSrXfKp2XsEXUBafcEf xV8Coej5pI7/nMRAwrsF7/9g5p66If/IR1kfxLX5OBwkE6OHS8/FxA6Moo6tghBinBqZR3KVQgqF /fPYYAfEfsga52Z8JJXfjlinQlAXz8EMFSdfXmCpxBt2MeF3x6rGzl0NEl9yhw2ktyymVjGtqlGK YxfWMD3hvX7x6ERBKx0ZUefp74u7wOZVbHJtJYlzOef4BOzgtGrtZu2lf9pWDU7nlEbz++OvPn/h BrVpEmS9K+VzIi1ULT1qXnF5VPHSv0yGxBWcv0SD5EsQJf8Qne6MBzKnaZUndb8FlI1gJp0QVKFw Dpe+9rZABUSOmrMA1koJ6AwQyWBzwby8nMWavwYbRbqCeHUi+97VuZvKuam4nYkEGSzMN+VIFNVe FYSeTIdjF0AJTElrPumkT4cGbnHyI0CgGXyP43F+qNYPSuWcFJCaRyv/5ZYeeiHIC6yQfBXhzfc7 VH8oZoor1GNoqgMfjrevqpm/2sp3cgpxOLQb+Onf21Cxz6rC7Olhe4vH4Q== X-Report-Abuse-To: spam@se1.web-dns1.com Message-ID-Hash: G7ZG7O43N7WOMDWHBIW5XZ45IHGNPTCG X-Message-ID-Hash: G7ZG7O43N7WOMDWHBIW5XZ45IHGNPTCG X-MailFrom: zlists+context@jdvb.ca X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: PDF, runner, and TikZ patches List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Fri, Mar 15, 2024 at 09:44 (+0100), Hans Hagen wrote: > On 3/15/2024 12:53 AM, Jim wrote: >> Max (et al), >> were you hoping the ConTeXt distribution would ship its own >> pgfutil-context.def, or were you hoping that someone could convince Henri >> to put the RGB change in? >> And, if anyone has the will to push this (or add it in to a ConTeXt >> distribution version), I'd still like the cmyk support, even if there is no >> ability to specify colour profiles: >> \def\pgfutil@emu@cmyk#1#2,#3,#4,#5\@nil >> { >> \pgfmathsetmacro{\@red@}{(1 - #2) * (1 - #5)}% >> \pgfmathsetmacro{\@green@}{(1 - #3) * (1 - #5)}% >> \pgfmathsetmacro{\@blue@}{(1 - #4) * (1 - #5)}% >> \expandafter\edef\csname\string\color@#1\endcsname >> {\noexpand\xcolor@ {}{}{rgb}{\@red@,\@green@,\@blue@}} >> } >> I don't see that it would hurt anything, even if it doesn't give complete >> cmyk support. > We provide > \pgf@context@registercolor > \pgf@context@registergray > \pgf@context@registerrgb > \pgf@context@registercmyk > in colo-ini that hook into the context color mechanism so be careful with > patches. I'm not going to spend time on other solutions that can interfere > with internals. Thanks Hans, I was not familiar with those. The above code worked fine for me in plain TeX (the last time I used it, anyway). By the looks of things, Max has a vastly better idea of ConTeXt internals than I do, and if his proposed \pgfutil@emu@rgb doesn't break anything, it might give some confidence that the above \pgfutil@emu#cmyk won't either. (Yeah, I know, that is hardly a robust argument of anything.) > (I wonder when the moment comes that we have to take a snapshot of tikz and > stay with that.) I hope that time doesn't come, because either someone (you? :-) would be left with an on-going job of patching the snapshot, or ConTeXt's version of tikz would become increasingly different (and, presumably, increasingly less capable than the "mainline" version). Cheers. Jim ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________