[NTG-context] \environment before vs. after \startproduct

2011-07-16 Thread Andreas Harder
Hi,

here is another problem regarding \environments.

% \setupbodyfont[palatino] % OK
\starttext
  \setupbodyfont[palatino] % not OK

  \startformula
\binom{n}{0}
  \stopformula
\stoptext

To avoid it, I'd have to use something like the following?

\environment font-setups
\startproduct
\environment blank-setups


Greeting
Andreas
___
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
___


Re: [NTG-context] \environment before vs. after \startproduct

2011-07-16 Thread Wolfgang Schuster

Am 16.07.2011 um 15:00 schrieb Andreas Harder:

 Hi,
 
 here is another problem regarding \environments.
 
 % \setupbodyfont[palatino] % OK
 \starttext
  \setupbodyfont[palatino] % not OK
 
  \startformula
\binom{n}{0}
  \stopformula
 \stoptext
 
 To avoid it, I'd have to use something like the following?
 
 \environment font-setups
 \startproduct
 \environment blank-setups

It’s a bug when Latin Modern is loaded before Pagella.

\setupbodyfont[modern]
\setupbodyfont[palatino]

\starttext

\startformula
\binom{n}{0}
\stopformula

\stoptext

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
___