From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9862 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: macros and buffers Date: Fri, 15 Nov 2002 13:29:05 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20021115132735.00b01208@server-1> References: <004b01c28c99$59e91e50$0200a8c0@MATTHEW> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1037363475 10403 80.91.224.249 (15 Nov 2002 12:31:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 15 Nov 2002 12:31:15 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18CfcZ-0002fr-00 for ; Fri, 15 Nov 2002 13:30:51 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id AF3E610AEA; Fri, 15 Nov 2002 13:32:35 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 029EF10AE9 for ; Fri, 15 Nov 2002 13:31:35 +0100 (MET) Original-Received: from server-1.pragma-ade.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id gAFDRtqt023516 for ; Fri, 15 Nov 2002 14:27:55 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-ade.nl (8.12.2/8.12.2) with ESMTP id gAFCVXgg002966 for ; Fri, 15 Nov 2002 13:31:33 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <004b01c28c99$59e91e50$0200a8c0@MATTHEW> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9862 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9862 At 08:22 PM 11/15/2002 +0900, you wrote: >Hi: > >Recently, I had some data I wanted set using tabulate but in 7 individual >buffers. I wanted to use a macro to both create the buffers and do the >\starttabulate...\stoptabulate stuff. I found that my macro could create >the .tmp file for each buffer but that the files were all empty. Why would >this happen, and is there a way to make this work? > >example: > >\define[5]\MyBuffers{ > \startbuffer[#1] > \starttabulate[|l|l|] > \NC #2 \NC #3 \NR > \NC #4 \NC #5 > \stoptabulate > \stopbuffer >} this is because buffers do a copy based on grabbing lines; in your case, use \setbuffer[#1]...\endbuffer (you're lucky, the next release will provide \usememorybuffers, since a few days back we needed something similar) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------