ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] hsvtorgb issue
@ 2026-02-10  8:33 Jairo A. del Rio
  2026-02-11  3:09 ` [NTG-context] " Jairo A. del Rio
  0 siblings, 1 reply; 3+ messages in thread
From: Jairo A. del Rio @ 2026-02-10  8:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 208 bytes --]

Is anyone having issues with hsvtorgb in Metafun? When I use it, black is
used instead. However, copying the macro from mp-tool.mpxl into the current
document works, although it triggers an overload warning.

[-- Attachment #1.2: Type: text/html, Size: 229 bytes --]

[-- Attachment #2: ga.tex --]
[-- Type: text/x-tex, Size: 105 bytes --]

\starttext

\startMPcode

fill unitsquare scaled 2cm withcolor hsvtorgb(125,1,1);

\stopMPcode

\stoptext

[-- Attachment #3: ga.pdf --]
[-- Type: application/pdf, Size: 4998 bytes --]

[-- Attachment #4: Type: text/plain, Size: 511 bytes --]

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

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

* [NTG-context] Re: hsvtorgb issue
  2026-02-10  8:33 [NTG-context] hsvtorgb issue Jairo A. del Rio
@ 2026-02-11  3:09 ` Jairo A. del Rio
  2026-02-11  7:49   ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Jairo A. del Rio @ 2026-02-11  3:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 539 bytes --]

Line 2508 of mp-lmtx.mpxl has a typo:

def hsvtorgb(expr h, s, v) = runscript mfid_hsvtorgb h s b enddef ;

has to be

def hsvtorgb(expr h, s, v) = runscript mfid_hsvtorgb h s v enddef ;

instead.

Regards

El mar, 10 feb 2026 a la(s) 3:33 a.m., Jairo A. del Rio (
jairoadelrio6@gmail.com) escribió:

> Is anyone having issues with hsvtorgb in Metafun? When I use it, black is
> used instead. However, copying the macro from mp-tool.mpxl into the current
> document works, although it triggers an overload warning.
>

[-- Attachment #1.2: Type: text/html, Size: 913 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

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

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

* [NTG-context] Re: hsvtorgb issue
  2026-02-11  3:09 ` [NTG-context] " Jairo A. del Rio
@ 2026-02-11  7:49   ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2026-02-11  7:49 UTC (permalink / raw)
  To: ntg-context; +Cc: Hans Hagen

On 2/11/2026 4:09 AM, Jairo A. del Rio wrote:
> Line 2508 of mp-lmtx.mpxl has a typo:
> 
> def hsvtorgb(expr h, s, v) = runscript mfid_hsvtorgb h s b enddef ;
> 
> has to be
> 
> def hsvtorgb(expr h, s, v) = runscript mfid_hsvtorgb h s v enddef ;
> 
> instead.

Ok, fixed in next upload,

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


-- 

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

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

end of thread, other threads:[~2026-02-11  7:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-10  8:33 [NTG-context] hsvtorgb issue Jairo A. del Rio
2026-02-11  3:09 ` [NTG-context] " Jairo A. del Rio
2026-02-11  7:49   ` Hans Hagen via ntg-context

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