From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71509 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: metapost to pdf on the fly Date: Mon, 3 Oct 2011 09:09:26 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1317625784 17023 80.91.229.12 (3 Oct 2011 07:09:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 Oct 2011 07:09:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 03 09:09:40 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RAceg-0001QU-JM for gctc-ntg-context-518@m.gmane.org; Mon, 03 Oct 2011 09:09:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 57B68CAFF4; Mon, 3 Oct 2011 09:09:37 +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 23lW-qEKyCx9; Mon, 3 Oct 2011 09:09:34 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79F23CAFF6; Mon, 3 Oct 2011 09:09:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B0C5ACAFF6 for ; Mon, 3 Oct 2011 09:09:33 +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 8DO6K3hPxB0b for ; Mon, 3 Oct 2011 09:09:32 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id DC8CCCAFF4 for ; Mon, 3 Oct 2011 09:09:31 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p9379UUR025077 for ; Mon, 3 Oct 2011 09:09:30 +0200 Original-Received: by bkbzs2 with SMTP id zs2so6215704bkb.14 for ; Mon, 03 Oct 2011 00:09:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=zTjmyIDweVxDJq28ACXNohYFWeUHL11LRskLjYQkxw8=; b=TgBtgvM0RisuINjR/5qLuehX0ojSQQGixvwXIy7AWJ/LdrNpAQZru9gmY0qN1K1Onc /stFB45MAJSkYqtmqxzba20Rvopk6EqnT1oOPpLl88AOB8cvj1g6za2Y1CYYI9nWReix ksKT8fS4gASyrmfWvKAZhc+ymE0wNQCjRgkko= Original-Received: by 10.223.30.153 with SMTP id u25mr23313707fac.104.1317625769838; Mon, 03 Oct 2011 00:09:29 -0700 (PDT) Original-Received: from [192.168.2.31] (p5482D9DC.dip.t-dialin.net. [84.130.217.220]) by mx.google.com with ESMTPS id c1sm20060502fab.15.2011.10.03.00.09.27 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Oct 2011 00:09:28 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1244.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; 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: 07FE79up0 - 451e83806753 - 20111003 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:71509 Archived-At: Am 03.10.2011 um 09:05 schrieb Meer, H. van der: > I am afraid I don't completely understand this. Doing: > \startbuffer[fig-1] > \startMPcode > draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. cycle withcolor darkgreen; > label(textext("Test"),origin); > \stopMPcode > \stopbuffer > \starttext > \processMPbuffer[fig-1] > \stoptext This works: \startbuffer[fig-1] draw (-20,0) .. (0,20) .. (20,0) .. (0,-20) .. cycle withcolor \MPcolor{darkgreen}; label(textext("Test"),origin); \stopbuffer \starttext \processMPbuffer[fig-1] \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________