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

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Reply via email to