ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: PDF, runner, and TikZ patches
Date: Fri, 15 Mar 2024 09:44:45 +0100	[thread overview]
Message-ID: <57b453d4-8b13-46af-b36d-726610bc6a96@xs4all.nl> (raw)
In-Reply-To: <ZfOOFD0o+PRXscfD@x360.localdomain>

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.

(I wonder when the moment comes that we have to take a snapshot of tikz 
and stay with that.)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

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

  parent reply	other threads:[~2024-03-15  8:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5b3c436565692c3da7b76aa4666d9d0c22eeb46b.camel@telus.net>
2024-03-14 23:18 ` [NTG-context] " Max Chernoff
2024-03-14 23:53   ` [NTG-context] " Jim
2024-03-15  0:53     ` Aditya Mahajan
2024-03-15  7:30       ` Max Chernoff
2024-03-16 13:13         ` Jim
2024-03-16 13:10       ` Jim
2024-03-16 14:20         ` Hans Hagen
2024-03-18  0:31           ` Jim
2024-03-18  8:23             ` Hans Hagen
2024-03-15  8:44     ` Hans Hagen [this message]
2024-03-16 13:21       ` Jim
2024-03-16 14:49         ` Hans Hagen
2024-03-15  8:38   ` Hans Hagen

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=57b453d4-8b13-46af-b36d-726610bc6a96@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --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).