\definebodyfont not working for \typesetbuffer
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? Many thanks for your help, Pablo -- http://www.ousia.tk
Pablo Rodriguez mailto:oinos@gmx.es 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
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
Pablo Rodriguez mailto:oinos@gmx.es 16. Oktober 2016 um 20:07
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. Use \definebodyfontenvironment[17pt].
Wolfgang
On 10/16/2016 08:16 PM, Wolfgang Schuster wrote:
Pablo Rodriguez 16. Oktober 2016 um 20:07 [...] Neither does it work now.
Use \definebodyfontenvironment[17pt].
Many thanks for your fast reply, Wolfgang. It works as expected. Pablo -- http://www.ousia.tk
participants (2)
-
Pablo Rodriguez
-
Wolfgang Schuster