From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14679 Path: main.gmane.org!not-for-mail From: "Vit Zyka" Newsgroups: gmane.comp.tex.context Subject: Re: (no subject) Date: Wed, 4 Feb 2004 10:49:41 +1300 Sender: ntg-context-admin@ntg.nl Message-ID: <018601c3eaaa$44c1fe50$1301a8c0@spekoun> References: <009001c3e933$f13f5790$1301a8c0@spekoun> <1978928780.20040202125019@iol.it> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1075849548 29322 80.91.224.253 (3 Feb 2004 23:05:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2004 23:05:48 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Feb 04 00:05:36 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ao9bs-0007gv-00 for ; Wed, 04 Feb 2004 00:05:36 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 1628410B70; Wed, 4 Feb 2004 00:04:04 +0100 (MET) Original-Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by ref.ntg.nl (Postfix) with SMTP id CF1A910B74 for ; Wed, 4 Feb 2004 00:02:24 +0100 (MET) Original-Received: (qmail 7113 invoked from network); 3 Feb 2004 23:03:42 -0000 Original-Received: from unknown (HELO spekoun) (vit.zyka@203.97.60.2) by smtp.seznam.cz with SMTP; 3 Feb 2004 23:03:42 -0000 Original-To: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 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:14679 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14679 > Because buffers are verbatim-like environments. > > -- > Giuseppe "Oblomov" Bilotta Hi, I expected that buffers are verbatimly stored to the file immediately in the time of processing \startbuffer...\stopbuffer thand the file is read processing \getbuffer. But it seems to me that the source file is parsed by texexec to find \startbuffer...\stopbuffer before TeX processing. Is it orrect? If so, how the included files are parsed (mainly if the macro expansion is needed for detection of inclusion)? Vit Zyka > > this buffer storage works perfectly: > > ---- > > \starttext > > \startbuffer[TMP] > > Bla > > \stopbuffer > > \getbuffer[TMP] > > \stoptext > > ---- > > > but why not this one? > > > ---- > > \starttext > > \def\tmp{% > > \startbuffer[TMP] > > Bla > > \stopbuffer > > } > > \tmp > > \getbuffer[TMP] > > \stoptext > > ----