Am 17.02.2014 um 21:07 schrieb Sanjoy Mahajan <san...@olin.edu>:

>> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to