From: Hans Hagen <pragma@wxs.nl>
Subject: Re: macros and buffers
Date: Fri, 15 Nov 2002 13:29:05 +0100 [thread overview]
Message-ID: <5.1.0.14.1.20021115132735.00b01208@server-1> (raw)
In-Reply-To: <004b01c28c99$59e91e50$0200a8c0@MATTHEW>
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
-------------------------------------------------------------------------
prev parent reply other threads:[~2002-11-15 12:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-15 11:22 Matthew Huggett
2002-11-15 12:29 ` Hans Hagen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.1.20021115132735.00b01208@server-1 \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).