From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60747 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: metapost and lua Date: Fri, 6 Aug 2010 14:17:11 +0200 Message-ID: <20100806121710.GA17893@aides> References: <20100805223218.GA13680@aides> <4C5BF33C.6020206@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1695500760==" X-Trace: dough.gmane.org 1281097030 13065 80.91.229.12 (6 Aug 2010 12:17:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Aug 2010 12:17:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 06 14:17:09 2010 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 1OhLrJ-0007zT-1F for gctc-ntg-context-518@m.gmane.org; Fri, 06 Aug 2010 14:17:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0DB34CA0AE; Fri, 6 Aug 2010 14:17:06 +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 kSQN5pxx+tUs; Fri, 6 Aug 2010 14:17:05 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D525CCA0A1; Fri, 6 Aug 2010 14:16:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E5714CA0A1 for ; Fri, 6 Aug 2010 14:16:57 +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 vScNNe5Y3kwO for ; Fri, 6 Aug 2010 14:16:55 +0200 (CEST) Original-Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by balder.ntg.nl (Postfix) with ESMTP id 900C9C9DF6 for ; Fri, 6 Aug 2010 14:16:55 +0200 (CEST) Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o76CGssa002745 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 6 Aug 2010 14:16:54 +0200 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o76CGsTh007001 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 6 Aug 2010 14:16:54 +0200 Original-Received: from localhost (mnhm-4d0117ac.pool.mediaWays.net [77.1.23.172]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id o76CGpSi018056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 6 Aug 2010 14:16:52 +0200 In-Reply-To: <4C5BF33C.6020206@wxs.nl> X-Operating-System: Linux aides 2.6.34-rc3 X-Polite-Request: "Please try to be nice, don't send html mail." User-Agent: Mutt/1.5.20 (2009-06-14) 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:60747 Archived-At: --===============1695500760== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-08-06 <13:34:20>, Hans Hagen wrote: > how about: >=20 > \starttext >=20 > \startluacode > context.startMPcode() > context("draw fullcircle scaled 10cm;") > context.stopMPcode() >=20 > context.resetMPdrawing() >=20 > context.startMPdrawing() > context("fill fullcircle scaled 10cm;") > context.stopMPdrawing() >=20 > for i=3D1,100,5 do > context.startMPdrawing() > context("draw fullcircle scaled " ..i .. "mm withcolor white;") > context.stopMPdrawing() > end >=20 > context.MPdrawingdonetrue() >=20 > context.getMPdrawing() > \stopluacode >=20 > \stoptext That's more or less what I'm doing right now; I was being curious about the =E2=80=9Cmetapost.process(etc)=E2=80=9D function, especially concerning= the first argument: =E2=80=9Cmpx=E2=80=9D -- what could be a valid format identifier = besides "metafun"? Why does it fail on the otherwise sound example from mlib-ctx.mkiv? It's nothing urgent, just plain curiosity. Philipp --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --wRRV7LY7NUeQGEoC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkxb/UYACgkQ02lYlJYWs9JCuwCcDQR2W3Phibl33Qf06LIN4KvU LdQAn2ZXrVvl7YILIrqwx4rAeFSrdUR5 =NqDn -----END PGP SIGNATURE----- --wRRV7LY7NUeQGEoC-- --===============1695500760== 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 ___________________________________________________________________________________ --===============1695500760==--