From: Keith McKay <mckaymeister@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] lmt_shade fails
Date: Sun, 18 Feb 2024 16:44:51 +0000 [thread overview]
Message-ID: <24afd59f-5c49-4521-aca3-85ed545cc4d1@gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 897 bytes --]
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?
Best wishes
Keith McKay
[-- Attachment #1.2: Type: text/html, Size: 2384 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 reply other threads:[~2024-02-18 16:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-18 16:44 Keith McKay [this message]
2024-02-19 13:15 ` [NTG-context] " Fabrice L
2024-02-19 18:10 ` 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=24afd59f-5c49-4521-aca3-85ed545cc4d1@gmail.com \
--to=mckaymeister@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).