From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101795 Path: news.gmane.org!.POSTED!not-for-mail From: "Mikael P. Sundqvist" Newsgroups: gmane.comp.tex.context Subject: Bug in newest ConTeXt with anglebetween? Date: Sat, 1 Sep 2018 19:13:03 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2331214455807714729==" X-Trace: blaine.gmane.org 1535821923 20525 195.159.176.226 (1 Sep 2018 17:12:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 1 Sep 2018 17:12:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 01 19:11:59 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fw9RG-0005C9-DM for gctc-ntg-context-518@m.gmane.org; Sat, 01 Sep 2018 19:11:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 841F85BD50; Sat, 1 Sep 2018 19:13:43 +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 cLnvonMcUklv; Sat, 1 Sep 2018 19:13:42 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CBE345BD53; Sat, 1 Sep 2018 19:13:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 86AA95BD53 for ; Sat, 1 Sep 2018 19:13:41 +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 sa1trJCEQ_-5 for ; Sat, 1 Sep 2018 19:13:41 +0200 (CEST) Original-Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id E3FAE5BD50 for ; Sat, 1 Sep 2018 19:13:30 +0200 (CEST) Original-Received: by mail-qk1-f171.google.com with SMTP id g13-v6so3379234qki.9 for ; Sat, 01 Sep 2018 10:13:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=lPv9Ol4Y4ai3bpK+shDJdtD77yBWnkfxxtA7LJZk6aM=; b=Th2ur+OMTHREIU225c/bZwV1SKieYAuuDDRLcUB48AZcE4+odW/xmBnplkBLzgC0Qs HxLHxw9TD3Gtyob2oN0BTLgP2d63LQJObU9zTBeifslpXSKwikFrww8P4lqba3Q366iX 8IXcbhGOU7kwQnFqr8oqT8BqIXCFNH5VUP2w+Jxw0D2Fbc/urRS3HqtWEeuByGek65sq xzYMVeE4gu/b2wrkOc401wee6ntVJ8pfFgmzkGWP8edgTAkYGZE317G+8pJvwyYfkBqK 7FyRiJjCbCtUTm0UHJa89Q4xehCiJVcCHc9+REmGqLim5EP48jaDXI/rmwi9TC0Td8LA 5lUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=lPv9Ol4Y4ai3bpK+shDJdtD77yBWnkfxxtA7LJZk6aM=; b=BHbB+9MSa8M+YYsCsdXqufqlFDGerWRquXHjP5FJpLpeBd9pcwHaZm6vpQbvZ35Vmo c+/2u7cFZjo6/tSwzT1uCvq2FaDQrs1G9R5bVN1+n8O5y/Z9jvg0LrLlfkoNWH2XQqCy AoaQXx5P3dqzuVN6csmDR9VbsTwMjma3Cz0MvYKJnjMxcrgy5cBmT3laQ1rlchUdV1Z6 P/UpPjO/ik8qzSgxub1hPsIeAr5BUfrfWZAPwpLoZbQ9lwdmC1pCjs6TBhRbVTK9IWxH /EL3gP9w+1CSWabodlgDbXpw7F12eb7CuwtOHvxWahYy5oDkG1ReZnARlG5mAIzNA+gg yhyA== X-Gm-Message-State: APzg51Dnu19vQ/NOnz42/+vEmNsfJPTAp3Lt5OwsvKpjLrjDkrALLoaf SRC5B/H/mJjQSI3JVVjVEq5UJO9ZboP4Qrvv7m1FmEml X-Google-Smtp-Source: ANB0VdYJYJnJFL+B/RcYpbdsqGlnX2Ar5/WPlyJIJ3eJX9EX8Cxy3LolAcL9dz1eouvPnYzxuRfxgBSb7iCImsJngPE= X-Received: by 2002:a37:cc9a:: with SMTP id n26-v6mr19700492qkl.112.1535822009509; Sat, 01 Sep 2018 10:13:29 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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.org gmane.comp.tex.context:101795 Archived-At: --===============2331214455807714729== Content-Type: multipart/alternative; boundary="00000000000050aa260574d26dc1" --00000000000050aa260574d26dc1 Content-Type: text/plain; charset="UTF-8" Hi! The document below compiled before, but not since upgrading to the new version of standalone (current version: 2018.08.30 18:41). I'm running linux if that matters. The problem seem to be anglebetween, since if that line is commented out, the file compiles. %%% \starttext \startuseMPgraphic{testfig} u:=1cm; z0=origin; z1=(4u,3u); z2=(4u,0); draw z0--z1--z2--cycle; draw anglebetween(z0--z2,z0--z1,btex $\alpha$ etex); \stopuseMPgraphic \startplacefigure \useMPgraphic{testfig} \stopplacefigure \stoptext %%% The error is something like: tex error > tex error on line 7 in file /home/mickep/tmp/testfil.tex: ! Extra }, or forgotten $ l.7 } \global \setbox \mptextbox \hbox {\clf_mptexttoks } BAD \relax \meta_process_graphic ...pvariableclass :}\relax } \meta_process_graphic_stop... \meta_handle_use_graphic ...a_process_graphic {#3} \endgroup /Mikael --00000000000050aa260574d26dc1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!
The document below compiled before, but not since upgrading= to the new version of standalone (current version: 2018.08.30 18:41). I= 9;m running linux if that matters.

The problem see= m to be anglebetween, since if that line is commented out, the file compile= s.

%%%
\starttext
\startu= seMPgraphic{testfig}
u:=3D1cm;
z0=3Dorigin;
z= 1=3D(4u,3u);
z2=3D(4u,0);

draw z0--z1--z= 2--cycle;

draw anglebetween(z0--z2,z0--z1,btex $\a= lpha$ etex);
\stopuseMPgraphic

\startpla= cefigure
\useMPgraphic{testfig}
\stopplacefigure
<= div>\stoptext
%%%

The error is som= ething like:

tex error=C2=A0 =C2=A0 =C2=A0 = =C2=A0> tex error on line 7 in file /home/mickep/tmp/testfil.tex: ! Extr= a }, or forgotten $

l.7 }
=C2=A0 =C2=A0<= /div>
<local> \global \setbox \mptextbox \hbox {\clf_mptexttoks= =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 }
<inserted text= >=C2=A0
BAD
<to be read again>=C2=A0
\relax=C2=A0
\meta_process_graphic ...pvariableclass :}\relax }<= /div>
=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 \meta_process_graphic_stop...
<= div>\meta_handle_use_graphic ...a_process_graphic {#3}
=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 \endgroup=C2=A0

/Mikael

--00000000000050aa260574d26dc1-- --===============2331214455807714729== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============2331214455807714729==--