From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109987 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Jairo A. del Rio" Newsgroups: gmane.comp.tex.context Subject: Re: Problem with shading in Metafun (LMTX) Date: Mon, 21 Dec 2020 05:58:28 -0500 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1406513187591466263==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26102"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 21 11:59:01 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1krIu4-0006do-JL for gctc-ntg-context-518@m.gmane-mx.org; Mon, 21 Dec 2020 11:59:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A5E5D1C1540; Mon, 21 Dec 2020 11:58:42 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WCyYdow3h06v; Mon, 21 Dec 2020 11:58:40 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A14381C152D; Mon, 21 Dec 2020 11:58:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 04D301C152D for ; Mon, 21 Dec 2020 11:58:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id It5wKwwyOQpu for ; Mon, 21 Dec 2020 11:58:39 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.51; helo=mail-wr1-f51.google.com; envelope-from=jairoadelrio6@gmail.com; receiver= Original-Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 2263A1C14F6 for ; Mon, 21 Dec 2020 11:58:39 +0100 (CET) Original-Received: by mail-wr1-f51.google.com with SMTP id d13so10567857wrc.13 for ; Mon, 21 Dec 2020 02:58:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tWlHXy3CHzlMlu6swaEEMviY5U18KWgAEHjkabgzP6c=; b=cgQRP+kC5D5f04ApSVskBOD6Sckt530Zef9AoWPo+XbGiZHR2VCu6IxlgUISjmZSpp Ln4NkvEpJqB7MWANpEC7ozSQQcivDROa/XoGlmIOXuZOQm3OjAavQtMQG7nVuHEgLvbs H7Nns9ldo9WVurTJem/AZwokkRpFBHzTHBPgcBXwed+Cku62Vl+PuZb9cHv875SmxKO1 DwYhmVSvcYZGTSbxktTUNms0E1qbC4uSxP+sInztuSQuefGf2ruIlNgeyH+ZRsSUC6Fo bNfR+1cCD5Q/zbv6zu1ZQ7F7PqGRPyhk6H4stM6mbGkPusPBu7mwIGfXACmSKF9UrFS0 Eg7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tWlHXy3CHzlMlu6swaEEMviY5U18KWgAEHjkabgzP6c=; b=qbSJXtp9of06XGOn0GR0oHUZOrkf3yPTOeXSnWS6vfode/tK6Gvc+1N4edJqRn4rr3 gZJ1uhZszFdSrns9OwHxTfiyz175Gs3dEmtfJYBXZZtbYBGw2VFAKy4x9aPA0ajuropS //Z3YZ/j7BGHHxNFr3toXKI59rIB0z3Ntia5dSxRZALTnFFB1SvlwUaTMBir0ee2Fkh7 Fj1+eMDSfRPeCHmYU/EHgM7BGijVWpM2H1LA4cmCZioM6YsN2u/d4cXfdnxRw87zWtNE HLd9FfMGfhWtf7GdSZSOvNBBdPMoZUEU3IE8gC5Ggph2Snd7xaPTPJMspq3w5J4OY7Ej 0kwg== X-Gm-Message-State: AOAM531iMFMnyIWJe064YpFLAMe6cWRgiCTa6dkeVC+lp649OrOTRXY9 zFJJ31EcaHO51goW+KeYWDpPZIK5uhHsAyfGjlU= X-Google-Smtp-Source: ABdhPJzZeQ7rBpenDMXqmWxztOgK9n+7mY7PVlLZi9JkNj4iF2MVCqRzqgDQCDZNAXKqJCKdJBUsIKK04+NB4tAfUa4= X-Received: by 2002:adf:92c2:: with SMTP id 60mr18241665wrn.266.1608548318712; Mon, 21 Dec 2020 02:58:38 -0800 (PST) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:109987 Archived-At: --===============1406513187591466263== Content-Type: multipart/alternative; boundary="0000000000002416c205b6f7570a" --0000000000002416c205b6f7570a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Nice. It works again. Thank you very much! Cordially, Jairo El lun., 21 de dic. de 2020 2:45 a. m., Hans Hagen escribi=C3=B3: > On 12/21/2020 4:46 AM, Jairo A. del Rio wrote: > > While shading works with MkIV, with LMTX the following breaks: > > > > > > \startMPpage > > > > comment("two shades with named colors"); > > > > fill fullcircle scaled 5cm > > > > withshademethod "circular" > > > > withshadecolors ((1,0,0),(0,0,1,0)) > > > > ; > > > > fill fullcircle scaled 5cm shifted (6cm,0) > > > > withshademethod "circular" > > > > withcolor (1,0,0,0) shadedinto "blue" > > > > ; > > > > \stopMPpage > > in mp-base.mpxl there is a ; missing > > temp_any_u =3D u > > must be: > > temp_any_u :=3D u ; > > (in the min and max macros) > > (i replaced some internal names as part of a cleanup) > > (there will be a new upload later that will also fix this) > > 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 > ----------------------------------------------------------------- > --0000000000002416c205b6f7570a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Nice. It works again. Thank you very much!

Cordially,

=
Jairo

El lun., 21 de dic. de 2020 2:45 a. m., Hans Hagen <j.hagen@xs4all.nl> escribi=C3=B3:
On 12/21/2020 4:46 AM, Jairo A. del Rio wro= te:
> While shading works with MkIV, with LMTX the following breaks:
>
>
> \startMPpage
>
> comment("two shades with named colors");
>
> fill fullcircle scaled 5cm
>
> withshademethod "circular"
>
> withshadecolors ((1,0,0),(0,0,1,0))
>
> ;
>
> fill fullcircle scaled 5cm shifted (6cm,0)
>
> withshademethod "circular"
>
> withcolor (1,0,0,0) shadedinto "blue"
>
> ;
>
> \stopMPpage

in mp-base.mpxl there is a ; missing

=C2=A0 =C2=A0 =C2=A0temp_any_u =3D u

must be:

=C2=A0 =C2=A0 =C2=A0temp_any_u :=3D u ;

(in the min and max macros)

(i replaced some internal names as part of a cleanup)

(there will be a new upload later that will also fix this)

Hans

-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.n= l | www.pragma-pod.nl
-----------------------------------------------------------------
--0000000000002416c205b6f7570a-- --===============1406513187591466263== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1406513187591466263==--