Am 17.02.2014 um 21:07 schrieb Sanjoy Mahajan
I can’t reproduce this, when I process your example the text is typeset with the pagella font.
You are right. I am not sure what I had done, but it works as you say.
I also put the font setup in an environment file that is loaded by testproject.tex, and that also works.
\project testproject \startcomponent test
\input knuth
\stopcomponent
Because of font loading, is this recommended way to use components (rather than the old way of the \project line after \startcomponent)? If so, I'll make a note on the wiki.
This does not only apply to component etc. but also to normal files because context sets and resets some values with \starttext etc. and to avoid some problems it’s better to put all setup commands before it. Wolfgang