From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109933 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Newsgroups: gmane.comp.tex.context Subject: =?utf-8?q?RE=C2=A0=3A__upload_/_metafun?= Date: Tue, 15 Dec 2020 20:09:54 +0100 Message-ID: <0E1BC2C2-D594-4919-B909-544221DA484A@hxcore.ol> References: <89b8e5d8-47d0-a015-c50f-ef5a0e16a509@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2011498181517110698==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30456"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 15 20:10:32 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 1kpFiS-0007pP-23 for gctc-ntg-context-518@m.gmane-mx.org; Tue, 15 Dec 2020 20:10:32 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AB2131AAFC2; Tue, 15 Dec 2020 20:10:01 +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 uwazOwLTYg3k; Tue, 15 Dec 2020 20:09:59 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8B3371AAFC5; Tue, 15 Dec 2020 20:09:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 260B91AAFC2 for ; Tue, 15 Dec 2020 20:09:59 +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 QwS_Erqd_pmd for ; Tue, 15 Dec 2020 20:09:58 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.47; helo=mail-wr1-f47.google.com; envelope-from=josephcanedo@gmail.com; receiver= Original-Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 4E5501AA59A for ; Tue, 15 Dec 2020 20:09:58 +0100 (CET) Original-Received: by mail-wr1-f47.google.com with SMTP id 91so20938785wrj.7 for ; Tue, 15 Dec 2020 11:09:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:date:from:subject:thread-topic:in-reply-to:message-id :references:to:content-transfer-encoding; bh=SzniWpNh7yL9idvq3H2l60uDT4OVAW1h2TtMsW401j4=; b=a8ISMv3a91f1+M0VbYDJoIm4k441qi6hzIlNiB30iYAnsmqRnuOx+78qs6Sru/y1P9 LIVd5UqeTgvM8JIsfdbF8/A/FpkumpViktKYJIwCeqwqxoYfSrf/YCML3K3eNRu5tfZP FVXM0JgbtXQ76sLm33/050M7qtngjFW5xH0em/oeOFHe3+7xanQx8kmNzKY7dxO25iWl zTnlNWdl8T93QD3aIf5RHvNTkBrAMk9OOYXlw2caYfbHUwRKq7DapAYtr+jMrfxXcXy0 TEexzMG6yS4AZa/YwDA9Ay0htRqRYLnhe+U36z3fmJaVVTFAf/LwvCZPwkR7wpTB08WN 2ZKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:from:subject:thread-topic :in-reply-to:message-id:references:to:content-transfer-encoding; bh=SzniWpNh7yL9idvq3H2l60uDT4OVAW1h2TtMsW401j4=; b=VHbE4Iq5d1ydFgalp3u/7t4HC7zImokmc/3THcuH6rJ9G8Z/YUbEX/IcNZez8eNvof Exu+zAt0+Or+1XoTFscOCf0wKrfPDtNWRjgcy6ZNitUdyN7dWBAZtaw1dDTYqz3OmABh Pi0sdBflt/AUgRccPSMRGzeL29wenBtySqhJJBgakPx1kXvZJaZ8Hhzj8LKLFsCXC+4X VeG4UCOHYOhJtMmb3Xfe25BhiUbltHpWKafPLbjqQeLEtRvsE0jBiiur+dHDijmShIRk U7dszAjsKxM9aB5ZvlDciQA9+0eGMf80rJbG9qhTiyCigndQIPRmMBX/eG9qS1Zq8TCM L/xA== X-Gm-Message-State: AOAM532dPxjWw9AVztkX0t4MPcJewJD80MYt5A5T2aNfNabiCPFTIGj+ 7RYIiJZGWS9X9X8tod7j62AE4bhB7uw= X-Google-Smtp-Source: ABdhPJzAJFgDVJVX1lYborRHojYUgI6Vn3DzvPp3/sI+sccXVVQoss98Rh/12rh8yHjla3rCUCv9mw== X-Received: by 2002:adf:8b5a:: with SMTP id v26mr27533587wra.138.1608059397407; Tue, 15 Dec 2020 11:09:57 -0800 (PST) Original-Received: from DESKTOP-PKMTK5D (2a01cb00068e03006443be62904e1100.ipv6.abo.wanadoo.fr. [2a01:cb00:68e:300:6443:be62:904e:1100]) by smtp.gmail.com with ESMTPSA id l11sm28544542wrt.23.2020.12.15.11.09.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Dec 2020 11:09:56 -0800 (PST) Thread-Topic: =?utf-8?Q?RE=C2=A0:_[NTG-context]_upload_/_metafun?= In-Reply-To: <89b8e5d8-47d0-a015-c50f-ef5a0e16a509@xs4all.nl> 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:109933 Archived-At: --===============2011498181517110698== Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Hi,

<= p class=3DMsoNormal> 

FYI, when run= ning install.bat I see problem downloading exe

 

mtx-install=C2=A0=C2=A0=C2=A0=C2=A0 |= changed=C2=A0 :=C2=A0=C2=A0 0 % :=C2=A0 2391552 : tex/texmf-win64/bin/luam= etatex.exe

mtx-install=C2=A0=C2=A0=C2=A0=C2=A0 | te= x/texmf-win64/bin/luametatex.exe, trying again:

 

After several attempts, the install.= bat run stops.

Thanks

=  

Joseph

&n= bsp;

De : Hans Hagen
Envoy=C3=A9 le :mardi 15 d=C3=A9cem= bre 2020 10:35
=C3=80 : mailing list for ConTeXt users
Objet :[NTG-context] up= load / metafun

 

Hi,

 

I uploaded a new lmtx. This time some work has been done at the met= afun end.

 

At the tex end we're working on some overload protection mechanism which <= /p>

involves tagging many macro so that will take a whi= le (most tagging is

done but checking left over ca= ses take time).

 

So, I wondered if we can do something similar in metapost: flag macr= os

and variables in order to issue a warnings when= a dangerous overload

happens.

 

The current lmtx has this as= an experiment: primitives, permanent,

immutable a= nd mutable (so far); you can look at the *.mpxl files to get

an idea. If you say for instance

=  

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 path fullcircle;

 

=

there will be a warning

&= nbsp;

=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 metapost=C2=A0=C2=A0=C2= =A0=C2=A0 =C2=A0=C2=A0=C2=A0> overloading immutable 'fullcircle'

 

or when

 

=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= \enabledirectives[metapost.overloadmode=3Derror]

<= o:p> 

has been given you get an error.

 

The implem= entation is rather simple and non intrusive and differs from

the one in tex. There it is tightly integrated for all kind of re= asons

(millions of macro definitions per run so ef= ficiency matters). Also, in

metapost variables (ta= gs) can have complex name constructions and we

onl= y test the top level. When a overload happens (overloadmode internal

<> 0) a lua callback takes care of it.

 

A side effect is tha= t we can query all hash entries and check for

cons= istency which is what i've done and am doing now. Of course that can

introduce issues ... just that you know.

 

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=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 Hans Hagen | PRAGMA ADE

=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= Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tel: 038 477 53 69 | www.pragm= a-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 / http://www.ntg.nl= /mailman/listinfo/ntg-context

webpage=C2=A0 : http:= //www.pragma-ade.nl / http://context.aanhet.net

arc= hive=C2=A0 : https://bitbucket.org/phg/context-mirror/commits/

wiki=C2=A0=C2=A0=C2=A0=C2=A0 : http://contextgarden.net

_________________________________________________________= __________________________

 

= --===============2011498181517110698== 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== --===============2011498181517110698==--