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 | [EMAIL PROTECTED]
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
-------------------------------------------------------------------------
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context