From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58956 Path: news.gmane.org!not-for-mail From: Shiv Shankar Dayal Newsgroups: gmane.comp.tex.context Subject: Lua and metapost Date: Fri, 21 May 2010 00:48:22 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1248463299==" X-Trace: dough.gmane.org 1274417314 7578 80.91.229.12 (21 May 2010 04:48:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 May 2010 04:48:34 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 21 06:48:33 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 1OFK9u-0006vD-MW for gctc-ntg-context-518@m.gmane.org; Fri, 21 May 2010 06:48:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5769C9A9C; Fri, 21 May 2010 06:48:29 +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 DPovQDDJVo1U; Fri, 21 May 2010 06:48:27 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E4077C9A63; Fri, 21 May 2010 06:48:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BDC29C9A63 for ; Fri, 21 May 2010 06:48:25 +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 y12Zkr21g1bS for ; Fri, 21 May 2010 06:48:23 +0200 (CEST) Original-Received: from mail-pz0-f204.google.com (mail-pz0-f204.google.com [209.85.222.204]) by balder.ntg.nl (Postfix) with ESMTP id 70E6BC9A41 for ; Fri, 21 May 2010 06:48:23 +0200 (CEST) Original-Received: by pzk42 with SMTP id 42so254867pzk.4 for ; Thu, 20 May 2010 21:48:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=sCMqOnpc7nrK3ZuSsF7LNhgChRpOlitS1yiOZVP/k/4=; b=ud4yiIK0sX5O7bh761PxduJAX6yuWW1GDOdYGojNruLqMjEdd+5m887J0FVOrkItx1 Mo14In4fZqcmaeN3u42EC4wjfhfaQ2kVSsbTvGos4uQXi8q8qt/8bSSFCS6fibapVT0O 7eyey/Gf+Px0NgWC3s92+BnM9PgJ5U3fjyWes= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=KmN9IzdaZ01JtaH/dKCyiXOmnJPy7C6DSSGASTQrTPML1mj0/VauJJbjQY9fOWYZH3 VmgDVWF3SA9AX95lc5vuAa9+ED2YFdXAT+Z29C75Z0zejlt9pTuZWnk3SiA+XcSUQ/u4 rnxWMNRX5oMijGG9xhsBsivbz9WF5wN9S6MkY= Original-Received: by 10.142.3.31 with SMTP id 31mr652990wfc.268.1274417302151; Thu, 20 May 2010 21:48:22 -0700 (PDT) Original-Received: by 10.140.142.15 with HTTP; Thu, 20 May 2010 21:48:22 -0700 (PDT) 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:58956 Archived-At: --===============1248463299== Content-Type: multipart/alternative; boundary=00504502bd9197231e04871366df --00504502bd9197231e04871366df Content-Type: text/plain; charset=ISO-8859-1 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 --00504502bd9197231e04871366df Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 co= de 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 agai= n 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
--00504502bd9197231e04871366df-- --===============1248463299== 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 ___________________________________________________________________________________ --===============1248463299==--