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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,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 E9BA52A373 for ; Sun, 18 Feb 2024 17:50:17 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id C2E35483E32 for ; Sun, 18 Feb 2024 17:47: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=gmail.com 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 3A4eyYdUytBx for ; Sun, 18 Feb 2024 17:47:07 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 19AFF48437F for ; Sun, 18 Feb 2024 17:45:41 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 37E2A483E41 for ; Sun, 18 Feb 2024 17:44:54 +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 i-WpIOdE0rUw for ; Sun, 18 Feb 2024 17:44:53 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.47; helo=mail-wm1-f47.google.com; envelope-from=mckaymeister@gmail.com; receiver= Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 D503D483DF7 for ; Sun, 18 Feb 2024 17:44:53 +0100 (CET) Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-41262ec677fso2674645e9.1 for ; Sun, 18 Feb 2024 08:44:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708274692; x=1708879492; darn=ntg.nl; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=Eluf/w0DXgng6MAgIK7kUm2zUktGohZgntKYK5mvCN4=; b=k240aIiirQscOlwK8q5mDVHSlZXOWV9dEf6P98w82y7TpFUBJqpsH2Sy2LcwdJHD2/ iNUYq3Pt+6MzjZbM8B0ES/JDpBs4PVWmniHt1H78UvMvuPFIY51YuWLhT/BwTk+B+5MO 2LA8uRRNuXaZHI4G1vtOJpzVXlZYXHVu1S5jfy43pvyVqEVaFcybTCSZDC8BNjHDSq5A y6CbTowfe+/oMqYTzOJIzcI/DGjIeay2P8hiFvHOJPeABqAI2TznZxOx9rNqCWjUvofg 8nbomH9sBgEZxAvaKdvrtjO/8YfX3qMCVqxb068VpLDR8ibCeeE6Y1WR0F6uML9tJLxR 1Z5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708274692; x=1708879492; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Eluf/w0DXgng6MAgIK7kUm2zUktGohZgntKYK5mvCN4=; b=m6Pi26JZjC5urR3zF0fOBakDzAC4ARJIpLsjApdsUpUGUGSpVg9RRv5B4cG0+XgGo6 x5qVVR2y8N71WaqzA/LJe7oA2JVWeiSLFLAshMB3AJ94S/TluMwztlVXHx5lZQvZzJxh OQ/+S8IrkRYbuUTTcr7480EKL4bQqCZUXf1tTP1zKUteMpleyHmqF6Tk0mN7nyAJWpPd NZjobNXxGXEjksm9jwPlb7paKv3IHunuAysBuWvSDS/lHZAtCJiZHHnhJvBCLerT/LhR 2gHknC2B4p3hobFcvOOhIWiy6FIMUzseOf8grkYZptKTaWTvadhl1q9YiOfcd/cg7PU7 AZTg== X-Gm-Message-State: AOJu0Yyd94TowLHDN44U1lMCuQN65VxotKTj5i6xMtQDVEUDJzEnUs76 /VJJjQ6UBmsjRcWnMzBXkE77sreddHRd8Ajv+y6OB0YhZXy06lbrgCPZbNnm X-Google-Smtp-Source: AGHT+IHyHWQAtaNfAA+3CLEdGApV3p/Ai+Dg1khpvIML+bRoQzm8CA3jHOzd2OgR0Q5KWn0OSythXg== X-Received: by 2002:a5d:4b50:0:b0:33d:34ae:8d53 with SMTP id w16-20020a5d4b50000000b0033d34ae8d53mr2753470wrs.66.1708274692286; Sun, 18 Feb 2024 08:44:52 -0800 (PST) Received: from ?IPV6:2a00:23c7:bb5f:f401:5cba:a5fd:cd98:e413? ([2a00:23c7:bb5f:f401:5cba:a5fd:cd98:e413]) by smtp.gmail.com with ESMTPSA id co22-20020a0560000a1600b0033d2848046asm5177320wrb.95.2024.02.18.08.44.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Feb 2024 08:44:51 -0800 (PST) Message-ID: <24afd59f-5c49-4521-aca3-85ed545cc4d1@gmail.com> Date: Sun, 18 Feb 2024 16:44:51 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB To: mailing list for ConTeXt users From: Keith McKay Message-ID-Hash: IWSZL6IA7DIRJBPUEXMYB4CGSAOBCCRT X-Message-ID-Hash: IWSZL6IA7DIRJBPUEXMYB4CGSAOBCCRT X-MailFrom: mckaymeister@gmail.com 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] lmt_shade fails List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============1192419480330007851==" This is a multi-part message in MIME format. --===============1192419480330007851== Content-Type: multipart/alternative; boundary="------------JQyFr0GsENwKpTE3J0ZHR0nM" Content-Language: en-GB This is a multi-part message in MIME format. --------------JQyFr0GsENwKpTE3J0ZHR0nM Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------JQyFr0GsENwKpTE3J0ZHR0nM Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit 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

--------------JQyFr0GsENwKpTE3J0ZHR0nM-- --===============1192419480330007851== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1192419480330007851==--