From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58957 Path: news.gmane.org!not-for-mail From: Shiv Shankar Dayal Newsgroups: gmane.comp.tex.context Subject: Re: Lua and metapost Date: Fri, 21 May 2010 01:21:46 -0400 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1350441660==" X-Trace: dough.gmane.org 1274419323 12305 80.91.229.12 (21 May 2010 05:22:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 May 2010 05:22:03 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 21 07:21:59 2010 connect(): No such file or directory 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 1OFKgG-00078P-T8 for gctc-ntg-context-518@m.gmane.org; Fri, 21 May 2010 07:21:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F33D6C9AAF; Fri, 21 May 2010 07:21:55 +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 9cqZBB8uQMMi; Fri, 21 May 2010 07:21:51 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C80C2C9A63; Fri, 21 May 2010 07:21:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9569AC9A63 for ; Fri, 21 May 2010 07:21:50 +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 RPZspkLZCCjM for ; Fri, 21 May 2010 07:21:48 +0200 (CEST) Original-Received: from mail-pw0-f41.google.com (mail-pw0-f41.google.com [209.85.160.41]) by balder.ntg.nl (Postfix) with ESMTP id 48514C9A41 for ; Fri, 21 May 2010 07:21:47 +0200 (CEST) Original-Received: by pwi7 with SMTP id 7so297759pwi.14 for ; Thu, 20 May 2010 22:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=W4GZw9gaj+7ipkEP7/hWxJSnsryRPUtDQnvLMTDFc68=; b=bnlkLnz6c065Tev5aRX9zvwmLwEKu5Kx50zAx0o/Grmzt4dvynyKslaryjmuIdQTVE PFt8Yh9oPtkhkH5WLp8bH41yJYgSB3iPh4oV7f5y2rAUBqh/CEQx9GHVB0JfsqYfAEmJ vbBStRSXGR08bBt9VGtSQ7R9WghzhTdA0CjME= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=egOgz75lJ9J8aSl48XmWp6Q7srIbQ4a9Dp12cjnclgp2N2sxrfj3i7svDhNULVn8Qv 3JA55cdApd2RxDHj1demxEHZd++CkrA8CYeWDztvR6m+r1+85i/kpjlpmG4LKGhEfvnz x5ZfjGIA6DmaMUETl1hTjl2LIzvLlKgguPBg0= Original-Received: by 10.141.125.7 with SMTP id c7mr793753rvn.228.1274419306852; Thu, 20 May 2010 22:21:46 -0700 (PDT) Original-Received: by 10.140.142.15 with HTTP; Thu, 20 May 2010 22:21:46 -0700 (PDT) In-Reply-To: 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:58957 Archived-At: --===============1350441660== Content-Type: multipart/alternative; boundary=00032555547e1472ab048713deb0 --00032555547e1472ab048713deb0 Content-Type: text/plain; charset=ISO-8859-1 Hi, Please discard previous mail as I did not know about MPlib. On Fri, May 21, 2010 at 12:48 AM, Shiv Shankar Dayal < shivshankar.dayal@gmail.com> wrote: > Hi all, > > Since ConTeXt has LuaTeX and it contains Lua interpreter so I wonder if it > is possible to write Lua code which can generate Metapost code for graphics. > MetaLua can also help here. However, I do not know > how to develop a Lua library which can be integrated with ConTeXt but then > again I have not looked in this matter. > > As you people may be knowing Prof. John Hobby has written a Haskell > frontend for Metapost which generates Metapost code. > > Having a Lua version of same will help a lot. My only concern is using > MetaLua with ConTeXt. > > -- > Best regards, > Shiv Shankar Dayal > -- Best regards, Shiv Shankar Dayal --00032555547e1472ab048713deb0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

Please discard previous mail as I did not know about MPlib.
<= br>
On Fri, May 21, 2010 at 12:48 AM, Shiv Shanka= r Dayal <shivshankar.dayal@gmail.com> wrote:
Hi all,

Si= nce ConTeXt has LuaTeX and it contains Lua interpreter so I wonder if it is= possible to write Lua code which can generate Metapost code for graphics. = MetaLua can also help here. However, I do not know
how to develop a Lua library which can be integrated with ConTeXt but then = again I have not looked in this matter.

As you people may be knowing Prof. John Hobby has written a Haskell fro= ntend for Metapost which generates Metapost code.

Having a Lua versi= on of same will help a lot. My only concern is using MetaLua with ConTeXt.<= br clear=3D"all">
--
Best regards,
Shiv Shankar Dayal



--
Best regards,Shiv Shankar Dayal
--00032555547e1472ab048713deb0-- --===============1350441660== 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 ___________________________________________________________________________________ --===============1350441660==--