![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
18 Nov
2022
18 Nov
'22
8:15 a.m.
On 11/18/22 15:52, Wolfgang Schuster via ntg-context wrote:
Pablo Rodriguez via ntg-context schrieb am 15.11.2022 um 16:06:
[...] It looks like when --environment is used, ConTeXt assumes that the main source only contains text. Which makes sense (at least, to me).
The reason why this does work has nothing to do with the environment file, the only thing which is responsible to get a PDF with output is the \setupbodyfont line.
Many thanks for your explanation, Wolfgang. Now it is perfectly clear to me why this worked. Many thanks for your help, Pablo