# [NTG-context] Do environment files add implicit \starttext ... \stopttext

Pablo Rodriguez oinos at gmx.es
Fri Nov 18 16:15:15 CET 2022

```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.