From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106378 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?utf-8?B?SmFuLUVyaWsgSMOkZ2dsw7Zm?= Newsgroups: gmane.comp.tex.context Subject: Error in MetaFun LMTX Date: Tue, 25 Feb 2020 18:34:51 +0100 Message-ID: <6224D2E0-E3BD-4F11-B4C0-DA22466EBE3A@bahnhof.se> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Content-Type: multipart/mixed; boundary="===============4233260184288409940==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="79616"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 25 18:35:10 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 1j6e6w-000KbA-6a for gctc-ntg-context-518@m.gmane-mx.org; Tue, 25 Feb 2020 18:35:10 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 32F75182350; Tue, 25 Feb 2020 18:34:56 +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 8AfCu47UxR4p; Tue, 25 Feb 2020 18:34:55 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 52571182337; Tue, 25 Feb 2020 18:34:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8E520182337 for ; Tue, 25 Feb 2020 18:34:54 +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 e9ZYNYUhNkzB for ; Tue, 25 Feb 2020 18:34:53 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=213.80.101.71; helo=ste-pvt-msa2.bahnhof.se; envelope-from=janerik.hagglof@bahnhof.se; receiver= Original-Received: from ste-pvt-msa2.bahnhof.se (ste-pvt-msa2.bahnhof.se [213.80.101.71]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 66D80181D61 for ; Tue, 25 Feb 2020 18:34:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ste-pvt-msa2.bahnhof.se (Postfix) with ESMTP id 97BEC3FAFA for ; Tue, 25 Feb 2020 18:34:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at bahnhof.se Original-Received: from ste-pvt-msa2.bahnhof.se ([127.0.0.1]) by localhost (ste-ftg-msa2.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lgdsJ_UAu02T for ; Tue, 25 Feb 2020 18:34:51 +0100 (CET) Original-Received: from [192.168.1.72] (h-248-232.A400.priv.bahnhof.se [85.24.248.232]) (Authenticated sender: mb287648) by ste-pvt-msa2.bahnhof.se (Postfix) with ESMTPA id E58153F738 for ; Tue, 25 Feb 2020 18:34:51 +0100 (CET) X-Mailer: Apple Mail (2.3608.60.0.2.5) 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:106378 Archived-At: --===============4233260184288409940== Content-Type: multipart/alternative; boundary="Apple-Mail=_54847E99-7643-402F-9129-A773FE8DB5EB" --Apple-Mail=_54847E99-7643-402F-9129-A773FE8DB5EB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii The following code gives an error, my goal is to draw 4 different arrows = but only three functions successfully. The error log shows metapost > initializing number mode 'scaled' metapost log >=20 metapost log > loading metafun, including plain.mp version 1.004 for = metafun iv and xl metapost log >=20 metapost log > >> unknown path D metapost log > ! Isolated expression. metapost log > =20 metapost log > : metapost log > <*> ... :=3D(12cm, -1cm)--(11cm, -1cm); path D ; D : metapost log > = =3D(4cm, -1cm)--(3cm, -1cm)... metapost log > And the code is as follows \startMPcode=20 path A ; A :=3D(0cm, -1cm)--(1cm, -1cm); path B ; B :=3D(13.5cm, -1cm)--(14.5cm, -1cm); path C ; C :=3D(12cm, -1cm)--(11cm, -1cm); path D ; D : =3D(4cm, -1cm)--(3cm, -1cm); drawarrow A; drawarrow B; drawarrow C ; drawarrow D ; \stopMPcode Unless I uncomment D it gives the above error. Mysterious issue /Janne= --Apple-Mail=_54847E99-7643-402F-9129-A773FE8DB5EB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii The = following code gives an error, my goal is to draw 4 different arrows but = only three functions successfully.

The error log shows

metapost =        > initializing number mode = 'scaled'
metapost log   =  > 
metapost log    > = loading metafun, including plain.mp version 1.004 for metafun iv and = xl
metapost log    > 
metapost log    > >> unknown path = D
metapost log    > ! Isolated = expression.
metapost log    > <to = be read again> 
metapost log   =  >                 =    :
metapost log    > = <*> ... :=3D(12cm, -1cm)--(11cm, -1cm); path D ; D :
metapost log    >         =                     =                     =    =3D(4cm, -1cm)--(3cm, -1cm)...
metapost = log    >

And the code is as follows

\startMPcode 
path A ; A :=3D(0cm, -1cm)--(1cm, -1cm);
path B ; B = :=3D(13.5cm, -1cm)--(14.5cm, -1cm);
path C ; C :=3D(12cm, -1cm)--(11cm, = -1cm);
path D ; D = : =3D(4cm, -1cm)--(3cm, -1cm);
drawarrow A; drawarrow B; drawarrow C ; drawarrow D = ;
\stopMPcode

Unless I uncomment D it gives the above = error.

Mysterious issue

/Janne
= --Apple-Mail=_54847E99-7643-402F-9129-A773FE8DB5EB-- --===============4233260184288409940== 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== --===============4233260184288409940==--