[NTG-context] \definebodyfont not working for \typesetbuffer

Pablo Rodriguez oinos at gmx.es
Sun Oct 16 20:07:27 CEST 2016


On 10/16/2016 07:59 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 16. Oktober 2016 um 19:56
>> [...]
>> 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,

I did it before sending the message and it didn’t work.

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

Neither does it work now.

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list