Pablo Rodriguez
16. Oktober 2016 um 19:56
Dear list,

I have the following sample:

\definebodyfont[17pt]
\startbuffer[buffer:inside]
\definefontfamily[mainface][rm][TeX Gyre Pagella]
\setupbodyfont[mainface, 17pt]
\starttext
\input zapf
\stoptext
\stopbuffer
\starttext
\typesetbuffer[buffer:inside]
\stoptext

As suggested by Wolfgang, \definebodyfont should work. It worked then
(https://mailman.ntg.nl/pipermail/ntg-context/2016/085260.html), but it
doesn’t work with latest beta from 2016.10.14 17:19.

Could you confirm whether it is a bug or I am missing something?
You have to put the command in the buffer because \typesetbuffer saves
the content in a external file and which is then processed as separate
document which doesn’t use settings from the main document.

Wolfgang