From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78033 Path: news.gmane.org!not-for-mail From: Troy Henderson Newsgroups: gmane.comp.tex.context,gmane.comp.tex.metapost Subject: Standalone MetaPost Graphics from ConTeXt Date: Thu, 30 Aug 2012 15:57:55 -0500 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1689387309==" X-Trace: ger.gmane.org 1346360294 30690 80.91.229.3 (30 Aug 2012 20:58:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2012 20:58:14 +0000 (UTC) To: mailing list for ConTeXt users , MetaPost List Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 30 22:58:15 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T7BoW-0004vI-Cn for gctc-ntg-context-518@m.gmane.org; Thu, 30 Aug 2012 22:58:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 91BC6101E7; Thu, 30 Aug 2012 22:58:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xxMENOxtlcky; Thu, 30 Aug 2012 22:58:04 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0B775101E0; Thu, 30 Aug 2012 22:58:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0F037101E0 for ; Thu, 30 Aug 2012 22:58:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id somY1Fa9ZtC3 for ; Thu, 30 Aug 2012 22:57:58 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 21E2B101DD for ; Thu, 30 Aug 2012 22:57:57 +0200 (CEST) Original-Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q7UKvual010336 for ; Thu, 30 Aug 2012 22:57:57 +0200 Original-Received: by obhx4 with SMTP id x4so5232816obh.14 for ; Thu, 30 Aug 2012 13:57:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=yURN7oDcEeIJgM7jg03nIHDeL4Jpsfs/mdOL63jTmKc=; b=HD09i5vQTQxIoKY4PW7kCnoCDgSb/Padau9tr0WuqQLK3CLZgtD+IKZb2x61OWk930 LZ6zlT3EOqgBVuVEGnZsNjGubH0YHgGM0KPOCuJ0i8DoUUMjiAnrMqs7msDW5YWA5+d9 wRVEyTJgySTMTHrja95LxRYgXNnPO5KvYdaf4wSH+jd0Ykenqfiz4OfTx5IDRZJe70oG d5Hi/Q6XkQKVqMK5Hj4BDi9GvntonafHckp0rBoGTw0W+eC20Z+VNYCoSQ7+AGDs7Fr9 vNkvrLMuRDbYydTZK8HVd3X9/6JJDMmJUSbmrVf9v7pVwdPX8WKSXctC+8ONu5MFF67G lvJA== Original-Received: by 10.60.31.165 with SMTP id b5mr5916398oei.58.1346360275515; Thu, 30 Aug 2012 13:57:55 -0700 (PDT) Original-Received: by 10.76.172.199 with HTTP; Thu, 30 Aug 2012 13:57:55 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07HR8VUjR - 657baed6c015 - 20120830 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78033 gmane.comp.tex.metapost:2235 Archived-At: --===============1689387309== Content-Type: multipart/alternative; boundary=e89a8f64759bf6370d04c881ed55 --e89a8f64759bf6370d04c881ed55 Content-Type: text/plain; charset=ISO-8859-1 Is there a way to output several MetaPost PDF graphics from a single ConTeXt source file. For example, \startMPpage draw fullcircle scaled 72; \stopMPpage \startMPpage draw unitsquare scaled 72; \stopMPpage and have a separate output PDF generated for each MPpage? It seems that this ConTeXt code generates a single PDF which contains only the first graphic. I would like to have either 1) two separate PDF's with each containing their own graphic 2) a single two page PDF where each page corresponds to the appropriate graphic. Of course, the "holy grail" would be to be able to "compile" a MetaPost source file with ConTeXt. Troy Henderson --e89a8f64759bf6370d04c881ed55 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Is there a way to output several MetaPost PDF graphics from a single ConTeX= t source file.=A0 For example,

\startMPpage
=A0 draw fullcircle s= caled 72;
\stopMPpage

\startMPpage
=A0 draw unitsquare scaled = 72;
\stopMPpage

and have a separate output PDF generated for each MPpage= ?=A0 It seems that this ConTeXt code generates a single PDF which contains = only the first graphic.=A0 I would like to have either

1) two separa= te PDF's with each containing their own graphic
2) a single two page PDF where each page corresponds to the appropriate gra= phic.

Of course, the "holy grail" would be to be able to &= quot;compile" a MetaPost source file with ConTeXt.

Troy Henders= on
--e89a8f64759bf6370d04c881ed55-- --===============1689387309== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1689387309==--