From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97466 Path: news.gmane.org!.POSTED!not-for-mail From: Antoine Cailliau Newsgroups: gmane.comp.tex.context Subject: Problem with usemodule[graph] Date: Thu, 2 Mar 2017 09:33:38 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0123469810466037112==" X-Trace: blaine.gmane.org 1488443685 9006 195.159.176.226 (2 Mar 2017 08:34:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 2 Mar 2017 08:34:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 02 09:34:41 2017 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 1cjMC8-0001lq-8M for gctc-ntg-context-518@m.gmane.org; Thu, 02 Mar 2017 09:34:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5544B835F4; Thu, 2 Mar 2017 09:34:16 +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 el-X86Y3yJhh; Thu, 2 Mar 2017 09:34:14 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id BAE15835E6; Thu, 2 Mar 2017 09:34:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A0628835EE for ; Thu, 2 Mar 2017 09:34:13 +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 iZ7clGFpQxhS for ; Thu, 2 Mar 2017 09:34:10 +0100 (CET) Original-Received: from mail-it0-f50.google.com (mail-it0-f50.google.com [209.85.214.50]) (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 7FC55835E0 for ; Thu, 2 Mar 2017 09:34:00 +0100 (CET) Original-Received: by mail-it0-f50.google.com with SMTP id h10so113111739ith.1 for ; Thu, 02 Mar 2017 00:34:00 -0800 (PST) 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=FYRfPoxalBP62U3r2ZryMTsDuulJ+cPmjFQLcqMaZsE=; b=l9d7xPqpr82e5GHE2hs/UYN7aiTQfr3oWBbGWMM2Eb+NW3eWid2nZ8Gmu04rc9bS1H 4ZsqACCWhuXrrfeRddBLy8l/sIgTO2BIP50TEnH/JkTMXLWRXSlutxmWFOWmbF7mLYTq PT15f+bTr+D2Gn11JLsykRQgKJC4dUiCXpfG745O+wisnb7lbTObbsfhbqYd19rMM+hW cp3zDZGwWKzV4XUTkTAj/1yHomLZj0Jp5fEE+Av42zUA0Q7/tViSQqTkgmiIq55tyaqu 25d1ky9kmzTmZ9jyjkwsvBE9dVCrn364TBNWiAZ2stcsEuOOzDCMuqwSylGz+VCVyjHn j8yg== 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=FYRfPoxalBP62U3r2ZryMTsDuulJ+cPmjFQLcqMaZsE=; b=knvr2NU8GioJ9R9vyrYX57n2FzEamfz016Axx3qJI81WOvPebWN4KJrlTWnK9xrjZP 213g2h3O5gd+CR+q/pwYNGmZ/VLTLQZQ2AAOWBKpK/VDNSYIh8sGtaUCoFbc9Uf4kIYU aHQpdggPEJ+i7MR5pCDDCbkvOrYg204v4L/b4JmZ+HGI7fck1/BbWHYIhwn+x84AzN7a /i6/YZs5odR9oCfydMS9Q8P2YG87HbFgX+Xah1uPx0itgmMc5H1S5+FcCh28Xvoq0g2y zAbkd5DwgGwz/+Wn9JX1Pu29f3wG0ruErbor9Og3RGLk5DxrDp0ABTBIMs4XNFQHDLig XSmg== X-Gm-Message-State: AMke39l+7jHaZneCGOKydiBi1Dw6UH9H+YSnM6LeKZ8Nk2A9a0/EAGsA80+LLnqyhVz/jXDKY8JWfa9mjUix5w== X-Received: by 10.36.147.65 with SMTP id y62mr8652521itd.87.1488443638898; Thu, 02 Mar 2017 00:33:58 -0800 (PST) Original-Received: by 10.107.133.31 with HTTP; Thu, 2 Mar 2017 00:33:38 -0800 (PST) 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:97466 Archived-At: --===============0123469810466037112== Content-Type: multipart/alternative; boundary=94eb2c089eee5d873a0549bb4ae7 --94eb2c089eee5d873a0549bb4ae7 Content-Type: text/plain; charset=UTF-8 Hi, I'd like to use graph to draw my plots with metapost. However, the following minimal file does not work: \usemodule[graph] > \starttext > \startMPcode > draw begingraph(3in,2in); > gdraw "agepop91.d"; > endgraph; > \stopMPcode > \stoptext The complete output log is available here: http://pastebin.com/zuGaT87W Thank you for your help ! I can generate the proper picture by writing only metapost code such as : input graph > beginfig(0); > draw begingraph(3in,2in); > gdraw "agepop91.d"; > endgraph; > endfig; > end; --94eb2c089eee5d873a0549bb4ae7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I'd like to use graph to draw m= y plots with metapost. However, the following minimal file does not work:

\= usemodule[graph]
\starttext
\startMPcode
=C2=A0 draw begingraph(3i= n,2in);
=C2=A0 =C2=A0 gdraw "agepop91.d";
=C2=A0 endgraph;<= br>\stopMPcode
\stoptext

The compl= ete output log is available here:=C2=A0http://pastebin.com/zuGaT87W

Thank you fo= r your help !

I can generate the proper picture by= writing only metapost code such as :

input graph
beginfig(0);
draw b= egingraph(3in,2in);
=C2=A0 gdraw "agepop91.d";
endgraph;endfig;
end;
--94eb2c089eee5d873a0549bb4ae7-- --===============0123469810466037112== 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 --===============0123469810466037112==--