From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39522 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: mplib Date: Sat, 15 Mar 2008 11:18:33 +0100 Message-ID: <47DBA279.6030707@wxs.nl> References: <47DAB3FD.2050503@wxs.nl> <6faad9f00803141548q1fc98bb7yd896338c9394cbd5@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205576432 26167 80.91.229.12 (15 Mar 2008 10:20:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Mar 2008 10:20:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 15 11:21:00 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JaTVc-0003Gq-GD for gctc-ntg-context-518@m.gmane.org; Sat, 15 Mar 2008 11:21:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 769AE1FC21; Sat, 15 Mar 2008 11:20:15 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16204-02-4; Sat, 15 Mar 2008 11:19:36 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2ED751FB14; Sat, 15 Mar 2008 11:19:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E3A901FADC for ; Sat, 15 Mar 2008 11:19:34 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16215-04-9 for ; Sat, 15 Mar 2008 11:19:01 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id AA3341FB14 for ; Sat, 15 Mar 2008 11:19:01 +0100 (CET) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.7b8) with ESMTP id 5625 for ; Sat, 15 Mar 2008 11:19:01 +0100 User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: <6faad9f00803141548q1fc98bb7yd896338c9394cbd5@mail.gmail.com> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:39522 Archived-At: Mojca Miklavec wrote: > On Fri, Mar 14, 2008 at 6:51 PM, Aditya Mahajan wrote: >> On Fri, 14 Mar 2008, Hans Hagen wrote: >> >> > so, if you have specific wishes ... now is the time to let them know >> >> Some questions (and hidden wishes) >> >> Does this mean that text between metapost graphic and context can be >> really transparent? Currently \sometxt does not work with all macros, >> (like an old feature request by Mojca to have two optional arguments for >> setting the font in the gnuplot module). Will mplib mean that the metapost >> code can place any tex box at the desired location? > > Now that you mention it: I still need to adapt the gnuplot module to > mkiv, but I'm a bit afraid of asking for help. (The most important > thing would be to get rid of that stupid catcode trickery inside > \startGNUPLOTscript ... \stopGNUPLOTscript that always tends to fail > when one needs it, and to have one-to-one conversion, so that %,#, $, > .... will have no special meaning.) Then, it would probably be a nice > benchmark to discover bugs in the library :) > > For example, demos from this page (I'm not saying that they're too > useful since 100x100 is too low resolution anyway): > http://gnuplot.sourceforge.net/demo_4.3/pm3d.html > currently all fail because of the "out-of-memory" problem (10.000 > times "fill unitsquare scaled ... shifted ... withcolor ..."), but > this might be a ConTeXt problem as well (the text inside > \startMPgraphic ... \stopMPgraphic probably needs to be stored > somewhere in TeX, even if there's no need for that). let's discuss this a few months from now when i have more code in place btw, how difficult would it be to add a lua api to gnuplot, in which case we could communicate via lua tables Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________