From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112197 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Rudd, Kevin" Newsgroups: gmane.comp.tex.context Subject: MP boxes: boxjoin not recognized? Date: Wed, 21 Jul 2021 10:29:33 +0000 Message-ID: <879D797B-E8ED-4FA6-AC78-A1AFADB6717D@lps.umd.edu> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2128460993075149532==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34113"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Rudd, Kevin" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 21 12:30:15 2021 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 1m69UU-0008fU-Ma for gctc-ntg-context-518@m.gmane-mx.org; Wed, 21 Jul 2021 12:30:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D09D4285E65; Wed, 21 Jul 2021 12:29:42 +0200 (CEST) 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 YOffcGp3VKJ5; Wed, 21 Jul 2021 12:29:41 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1F4DA285EA1; Wed, 21 Jul 2021 12:29:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DB31E285EA1 for ; Wed, 21 Jul 2021 12:29:39 +0200 (CEST) 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 CxAeVAK93H0l for ; Wed, 21 Jul 2021 12:29:35 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=129.2.108.16; helo=smtp.lps.umd.edu; envelope-from=kevin@lps.umd.edu; receiver= Original-Received: from SMTP.lps.umd.edu (smtp.lps.umd.edu [129.2.108.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 8F7CC285E65 for ; Wed, 21 Jul 2021 12:29:35 +0200 (CEST) Original-Received: from LPS-ExchDB2.lps.umd.edu (129.2.108.18) by SMTP.lps.umd.edu (129.2.108.16) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Wed, 21 Jul 2021 06:29:32 -0400 Original-Received: from LPS-ExchDB1.lps.umd.edu (2002:8102:6c11::8102:6c11) by LPS-ExchDB2.lps.umd.edu (2002:8102:6c12::8102:6c12) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 21 Jul 2021 06:29:33 -0400 Original-Received: from LPS-ExchDB1.lps.umd.edu ([129.2.108.17]) by LPS-ExchDB1.lps.umd.edu ([129.2.108.17]) with mapi id 15.00.1497.012; Wed, 21 Jul 2021 06:29:33 -0400 Thread-Topic: MP boxes: boxjoin not recognized? Thread-Index: AQHXfhtLY4ZSkLW5MEmTxsxUlC9usw== Accept-Language: en-US Content-Language: en-US x-mailer: Apple Mail (2.3445.104.21) x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [68.134.227.245] 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:112197 Archived-At: --===============2128460993075149532== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_879D797BE8ED4FA6AC78A1AFADB6717Dlpsumdedu_" --_000_879D797BE8ED4FA6AC78A1AFADB6717Dlpsumdedu_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi--- All of my figures that use MP boxes are now failing. It looks like "boxjoin= " (from the MP "boxes" macros) is not being recognized. Also, apparently un= related, I wonder if the comparison in "boxes.mp" is correct as it appears = that lmtx loads "mp-xbox.mpiv" instead of "mp-xbox.mpxl". Here is some log = output and a (mostly) MWE. Thanks for any suggestions, ---K % system > ConTeXt ver: 2021.07.16 22:03 LMTX fmt: 2021.7.21 in= t: english/english % metapost > initializing instance 'metafun:1' using format 'metafun= ' and method 'default' % metapost > loading 'metafun' as 'metafun.mpxl' using method 'defau= lt' % metapost > initializing number mode 'scaled' % metapost > trace > This is MPLIB for LuaMetaTeX, version 3.11, run= ning in scaled mode. % metapost > trace > % metapost > trace > loading metafun for lmtx, including the plain 1= .004 base definitions % metapost > trace > % metapost > trace > >> 2 % metafun > log > % metafun > log > error: Isolated expression % metafun > log > % metapost > trace > >> boxjoin % metapost > trace > % metapost > trace > <*> show metapostversion; boxjoin( % metafun > log > % metafun > log > I couldn't find an '=3D' or ':=3D' after the expr= ession that is shown above this % error message, so I guess I'll just ignore it and carry on. % metafun > log > % metapost > trace > ); boxit.a("a");= boxit.bb("bb"); boxit.ccc("ccc"); drawboxed(a,bb,ccc); ; % metapost > trace > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \startMPdefinitions input boxes \stopMPdefinitions \starttext hello \startalignment[center] \startplacefigure \startMPcode%{aaa} show metapostversion; % boxes.mp: scantokens("input mp-xbox.mp" & (if metapostver= sion > 2 : "xl" else : "iv" fi)) ; % =3D> loads mp-xbox.mpiv in lmtx rather than mp-= xbox.mpxl as i would have expected boxjoin(); % boxjoin(a.se=3Db.sw; a.ne=3Db.nw); boxit.a("a"); boxit.bb("bb"); boxit.ccc("ccc"); drawboxed(a,bb,ccc); \stopMPcode \stopplacefigure \stopalignment goodbye \stoptext %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Kevin W. Rudd, Ph.D. CAPT, USN (Ret) Computer Architecture & Computer Engineering Advanced Computing Systems (ACS) Research Program Laboratory for Physical Sciences (LPS) 443-654-7878 kevin@lps.umd.edu Visiting Research Professor United States Naval Academy rudd@usna.edu --_000_879D797BE8ED4FA6AC78A1AFADB6717Dlpsumdedu_ Content-Type: text/html; charset="us-ascii" Content-ID: <23BB8FFB029AC848BC830BEAE2BD20D8@lps.umd.edu> Content-Transfer-Encoding: quoted-printable
Hi---

All of my figures that use MP boxes are now failing. It loo= ks like "boxjoin" (from the MP "boxes" macros) is not b= eing recognized. Also, apparently unrelated, I wonder if the comparison in = "boxes.mp" is correct as it appears that lmtx loads "mp-xbox= .mpiv" instead of "mp-xbox.mpxl". Here is some log output and a (mostly= ) MWE.

Thanks for any suggestions,
 ---K

% system          > ConTeXt &nb= sp;ver: 2021.07.16 22:03 LMTX  fmt: 2021.7.21  int: english/engli= sh

% metapost        > initializing ins= tance 'metafun:1' using format 'metafun' and method 'default'
% metapost        > loading 'metafun= ' as 'metafun.mpxl' using method 'default'
% metapost        > initializing num= ber mode 'scaled'
% metapost        > trace > This = is MPLIB for LuaMetaTeX, version 3.11, running in scaled mode.
% metapost        > trace >
% metapost        > trace > loadi= ng metafun for lmtx, including the plain 1.004 base definitions
% metapost        > trace >
% metapost        > trace > >&= gt; 2
% metafun         > log >
% metafun         > log > error: = Isolated expression
% metafun         > log >
% metapost        > trace > >&= gt; boxjoin
% metapost        > trace > <t= o be read again>
% metapost        > trace > <*= > show metapostversion; boxjoin(
% metafun         > log >
% metafun         > log > I could= n't find an '=3D' or ':=3D' after the expression that is shown above this
% error message, so I guess I'll just ignore it and carry o= n.
% metafun         > log >
% metapost        > trace >  = ;                     &nb= sp;        ); boxit.a("a"); boxit.bb("bb= "); boxit.ccc("ccc"); drawboxed(a,bb,ccc); ;
% metapost        > trace >

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%= %%%%%%%%%%%%%

\startMPdefinitions
    input boxes
\stopMPdefinitions

\starttext

hello

\startalignment[center]
    \startplacefigure
        \startMPcode%{aaa}
            show metapostvers= ion;
                % b= oxes.mp: scantokens("input mp-xbox.mp" & (if metapostversion = > 2 : "xl" else : "iv" fi)) ;
                % &= nbsp;         =3D> loads mp-xbox.mpiv in lmtx rather= than mp-xbox.mpxl as i would have expected
            boxjoin();
            % boxjoin(a.se=3Db.sw; a.ne=3Db.nw);
            boxit.a("a&q= uot;);
            boxit.bb("bb= ");
            boxit.ccc("c= cc");
            drawboxed(a,bb,cc= c);
        \stopMPcode
    \stopplacefigure
\stopalignment

goodbye

\stoptext

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%= %%%%%%%%%%%%%

Kevin W. Rudd, Ph.D.
CAPT, USN (Ret)

Computer Architecture & Computer Engineering 
Advanced Computing Systems (ACS) Research Program 
Laboratory for Physical Sciences (LPS) 

443-654-7878 
kevin@lps.umd.edu

Visiting Research Professor
United States Naval Academy

rudd@usna.edu


--_000_879D797BE8ED4FA6AC78A1AFADB6717Dlpsumdedu_-- --===============2128460993075149532== 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== --===============2128460993075149532==--