From: Fabrice L <fabrice.alpha@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: lmt_shade fails
Date: Mon, 19 Feb 2024 08:15:01 -0500 [thread overview]
Message-ID: <AB01EE3F-C9A7-4015-BD3A-84B8A7499A49@gmail.com> (raw)
In-Reply-To: <24afd59f-5c49-4521-aca3-85ed545cc4d1@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1739 bytes --]
Dear Keith,
> Le 18 févr. 2024 à 11:44, Keith McKay <mckaymeister@gmail.com> a écrit :
>
> Hi all
> I went to use the lmt_shade function and it fails with two error messages. the first one is:
>
> metafun > log > error: Not a cycle
>
> followed by lots of trace messages, then:
>
> metafun > log > That contour should have ended with '.. cycle' or '& cycle'. So I'll not change
> anything just now.
>
> The MWE I used is as follows:
>
> \starttext
> \startMPpage
> definecolor [ name = "MyColor3", r = uniformdeviate(1), g = uniformdeviate(1), b = uniformdeviate(1) ] ;
> definecolor [ name = "MyColor4", r = uniformdeviate(1), g = uniformdeviate(1), b = uniformdeviate(1) ] ;
> draw lmt_shade [
> path = fullsquare scaled 5cm,
> direction = "up",
> alternative = "linear",
> colors = { "red", "green" },
> ];
> \stopMPpage
> \stoptext
> I'm using:
>
> system > ConTeXt ver: 2024.02.14 13:38 LMTX fmt: 2024.2.15 int: english/english
>
> on a mac mini M1.
>
> Any thougths?
>
On an Mac running ConTeXt ver: 2023.09.26 18:19 LMTX fmt: 2023.12.11 , this works perfectly.
> Best wishes
>
> Keith McKay
>
Fabrice.
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 3568 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
___________________________________________________________________________________
next prev parent reply other threads:[~2024-02-19 13:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-18 16:44 [NTG-context] " Keith McKay
2024-02-19 13:15 ` Fabrice L [this message]
2024-02-19 18:10 ` [NTG-context] " Keith McKay
2024-02-19 19:35 ` Hans Hagen
2024-02-20 10:33 ` Keith McKay
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=AB01EE3F-C9A7-4015-BD3A-84B8A7499A49@gmail.com \
--to=fabrice.alpha@gmail.com \
--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).