From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70773 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: buffer names in MKII Date: Thu, 18 Aug 2011 17:29:09 -0400 (EDT) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1313723184 14123 80.91.229.12 (19 Aug 2011 03:06:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2011 03:06:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 19 05:06:20 2011 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 1QuFPX-0007tG-Km for gctc-ntg-context-518@m.gmane.org; Fri, 19 Aug 2011 05:06:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 802CECAEFD; Fri, 19 Aug 2011 05:06:18 +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 HEeXxAI+2mYB; Fri, 19 Aug 2011 05:06:13 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 58905CAEBD; Fri, 19 Aug 2011 05:06:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 464CCCAEBD for ; Fri, 19 Aug 2011 05:06:10 +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 WA9F9xq6OZkz for ; Fri, 19 Aug 2011 05:05:56 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 3C4A9CAEAA for ; Fri, 19 Aug 2011 05:05:56 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p7J35rTL015345 for ; Fri, 19 Aug 2011 05:05:55 +0200 Original-Received: FROM [10.0.2.15] (bas3-montreal02-1096682341.dsl.bell.ca [65.94.11.101]) By tombraider.mr.itd.umich.edu ID 4E4DD30D.2CB3B.1793 ; Authuser adityam; 18 Aug 2011 23:05:49 EDT In-Reply-To: User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0xFm35REB - 5a55c19d6a7b - 20110819 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:70773 Archived-At: On Fri, 19 Aug 2011, Mojca Miklavec wrote: > Dear Hans, > > something broke backward compatibility in MKII. > > When using buffers like in > > \startbuffer[buffername] > hello world > \stopbuffer > > the code now creates buffername.tmp instead of \jobname-buffername.tmp. Works fine with 2011.08.04, so something broke in the latest version. > OK, I need to take some time and try to use Aditya's code in the > background anyway In MkIV, with the filter module it is now possible to use preamble and postample buffers for each filters. With this, the basic functionality of the gnuplot module works fine (but I only tested the pdf and png backends, not the context backend). I am also thinking of providing an interface for parsing the buffer content at lua end. That will allow us to implement all the features of the gnuplot and lilypond module using the filter module. But I need some testers, as I don't use either of the programs. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________