From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10538 Path: main.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: Buffers and grouping Date: Sun, 26 Jan 2003 14:55:27 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: References: <000b01c2c53b$d1e2a8b0$0100a8c0@vademecum> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v551) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1043589294 10562 80.91.224.249 (26 Jan 2003 13:54:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 26 Jan 2003 13:54:54 +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 18cnFM-0002kE-00 for ; Sun, 26 Jan 2003 14:54:52 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id EE2C710B1A; Sun, 26 Jan 2003 14:56:31 +0100 (MET) Original-Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.87]) by ref.ntg.nl (Postfix) with ESMTP id 9858610B18 for ; Sun, 26 Jan 2003 14:55:34 +0100 (MET) Original-Received: from asmtp02.mac.com (asmtp02-qfe3 [10.13.10.66]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h0QDtUD5006733 for ; Sun, 26 Jan 2003 05:55:33 -0800 (PST) Original-Received: from mac.com ([212.198.192.244]) by asmtp02.mac.com (Netscape Messaging Server 4.15) with ESMTP id H9BQOH00.CHN for ; Sun, 26 Jan 2003 05:55:29 -0800 Original-To: ntg-context@ntg.nl In-Reply-To: <000b01c2c53b$d1e2a8b0$0100a8c0@vademecum> X-Mailer: Apple Mail (2.551) 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:10538 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10538 On dimanche, jan 26, 2003, at 14:06 Europe/Paris, Willi Egger wrote: > Hi all, > > I thought that \startbuffer and stopbuffer would cause grouping within > the > buffer. e.g. > > \startbuffer[mybuffer] > \switchtobodyfont[small] > a bunch of text > \stopbuffer > > \starttext > \section{First} > \getbuffer[mybuffer] > \section{Second} > \getbuffer[mybuffer] > \section{Third} > \getbuffer[mybuffer] > \section{Fourth} > \getbuffer[mybuffer] > \stoptext > Hi, Some time ago I encountered the same problem (ConTeXt ver: 2002.12.20 fmt: 2003.1.21 int: english mes: english) and since I didn't know whether this was a bug or some built in feature, I solved it by saying \startbuffer[mybuffer] \switchtobodyfont[small] This is the content of mybuffer supposed to be in smaller type\dots \setupbodyfont[ss,12pt] \stopbuffer \starttext \section{First} \getbuffer[mybuffer] \section{Second} \getbuffer[mybuffer] \section{Third} \getbuffer[mybuffer] \section{Fourth} \getbuffer[mybuffer] \stoptext I must admit that this is not a solution but a turn around! Best regards: OK