From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61882 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Lua:mplib Date: Thu, 23 Sep 2010 10:08:41 +0200 Message-ID: <4F062860-81F9-44C5-A768-1AECAA5B6BB4@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/mixed; boundary="===============1558456753==" X-Trace: dough.gmane.org 1285229336 5489 80.91.229.12 (23 Sep 2010 08:08:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2010 08:08:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 23 10:08:54 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 1OygrO-00077o-Iz for gctc-ntg-context-518@m.gmane.org; Thu, 23 Sep 2010 10:08:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1D36FCA75F; Thu, 23 Sep 2010 10:08:54 +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 QOVrHEtkl3wu; Thu, 23 Sep 2010 10:08:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5F037CA620; Thu, 23 Sep 2010 10:08:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9D154CA620 for ; Thu, 23 Sep 2010 10:08:48 +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 3ZH6hVKLJD83 for ; Thu, 23 Sep 2010 10:08:45 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id D1319CA615 for ; Thu, 23 Sep 2010 10:08:45 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8N88itJ007680 for ; Thu, 23 Sep 2010 10:08:45 +0200 Original-Received: by fxm10 with SMTP id 10so1731082fxm.14 for ; Thu, 23 Sep 2010 01:08:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=ktQcVdUEIJQ2XRjT0QeVdSYUbJpnYx5vvNbeOgtZC5A=; b=E1lPf2rN+5Cx8ScRaXnhNs4D4o2Ze+LA1DVr4GpN8rhrN8Mywybg8kDxSUQVu/G1gp o1DKaps2rooV7hBZSYwlqCvlDzZlJbV1PaDeSsyf51FiQcj+m7G6xXPu/s8PKGTeL+cP t5UVf+FasPyjDl1PQsMPKKBtK66PYUoEC4orU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=SGPKuBP6MaZQm3vb7MbMqA7XMymFY9ZQmbFjPZDzbazwRbDC/zn4dGM+4g9kRrnzMi YJsLsHZfvIZlgHw7QUtxwad0jMJc/oS5syi3y4MVYplvNpUzHKMt5M7E2iCEem9FTR7c e9VMoGpj6+kJvPlUiaGtNqPuVIl+Cw0LXJAjs= Original-Received: by 10.223.118.14 with SMTP id t14mr571936faq.79.1285229324711; Thu, 23 Sep 2010 01:08:44 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B2932EA.dip.t-dialin.net [91.41.50.234]) by mx.google.com with ESMTPS id a7sm177722faa.21.2010.09.23.01.08.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 23 Sep 2010 01:08:43 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.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: 0eDa88Jco - 73f8eb09f0dd - 20100923 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:61882 Archived-At: --===============1558456753== Content-Type: multipart/alternative; boundary=Apple-Mail-9--168040329 --Apple-Mail-9--168040329 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 23.09.2010 um 09:53 schrieb Proch=E1zka Luk=E1=9A: > Hello, >=20 > I'm looking for some stuff about calling MP from ConTeXt Lua. >=20 > The only thing I found is a short reference at = http://www.luatex.org/svn/trunk/manual/luatexref-t.pdf, but even when I = read some basics (pages 79-83), I don't even know how to draw a line = between two points. >=20 > So I'd like to find a tutorial or examples or a deeper reference about = how to call MP via Lua from ConTeXt. - Any idea? You don=92t have to think so complicated: \starttext \startluacode context.startMPpage() context("draw fullcircle scaled 2cm;") context.stopMPpage \stopluacode \stoptext See also http://pragma-ade.com/show-man-44.htm Wolfgang --Apple-Mail-9--168040329 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
Hello,

I'm looking for some stuff about = calling MP from ConTeXt Lua.

The only thing I found is a short = reference at http://www= .luatex.org/svn/trunk/manual/luatexref-t.pdf, but even when I read = some basics (pages 79-83), I don't even know how to draw a line between = two points.

So I'd like to find a tutorial or examples or a = deeper reference about how to call MP via Lua from ConTeXt. - Any = idea?

You don=92t have to think so = complicated:

\starttext
\startluacode
context.startMPpage()
context("draw fullcircle scaled = 2cm;")
context.stopMPpage
\stopluacode
\stop= text


Wolfgang

= --Apple-Mail-9--168040329-- --===============1558456753== 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 ___________________________________________________________________________________ --===============1558456753==--