From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10545 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Buffers and grouping Date: Sun, 26 Jan 2003 22:36:15 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20030126223359.047d2d38@remote-1> References: <000b01c2c53b$d1e2a8b0$0100a8c0@vademecum> <000b01c2c53b$d1e2a8b0$0100a8c0@vademecum> 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 1043617189 814 80.91.224.249 (26 Jan 2003 21:39:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 26 Jan 2003 21:39:49 +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 18cuVH-0000Cx-00 for ; Sun, 26 Jan 2003 22:39:47 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id BE12510B24; Sun, 26 Jan 2003 22:41:27 +0100 (MET) Original-Received: from smtp08.wxs.nl (smtp08.wxs.nl [195.121.6.40]) by ref.ntg.nl (Postfix) with ESMTP id EEA9010B18 for ; Sun, 26 Jan 2003 22:37:50 +0100 (MET) Original-Received: from LAPTOP-3.wxs.nl ([213.75.94.86]) by smtp08.wxs.nl (Netscape Messaging Server 4.15) with ESMTP id H9CC2U02.ME9 for ; Sun, 26 Jan 2003 22:37:42 +0100 X-Sender: hagen-mail@remote-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <17913048122.20030126141348@iol.it> 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:10545 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10545 At 02:13 PM 1/26/2003 +0100, Giuseppe Bilotta wrote: >Sunday, January 26, 2003 Willi Egger wrote: > >WE> Hi all, > >WE> I thought that \startbuffer and stopbuffer would cause grouping within the >WE> buffer. e.g. > >WE> \startbuffer[mybuffer] >WE> \switchtobodyfont[small] >WE> a bunch of text >WE> \stopbuffer > >WE> \starttext >WE> \section{First} >WE> \getbuffer[mybuffer] >WE> \section{Second} >WE> \getbuffer[mybuffer] >WE> \section{Third} >WE> \getbuffer[mybuffer] >WE> \section{Fourth} >WE> \getbuffer[mybuffer] >WE> \stoptext > >WE> Compiling the above example results in a fontsiye decreasing step by step. > >WE> How should I reverse to the originally setup fontsize: > >Insert grouping by yourself: > >\startbuffer[mybuffer] >\start\switchtobodyfont[small] > a bunch of text >\stop >\stopbuffer or better: \start ..... \par \stop in order to get proper baselines, or \definebuffer[small] \setupbuffer[small][before=\start\small,after=\stop] \startsmall .... \stopsmall \getsmall or so 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 -------------------------------------------------------------------------