Am 25.04.2012 um 21:10 schrieb Mari Voipio:

> On Tue, Apr 24, 2012 at 20:53, Wolfgang Schuster
> <schuster.wolfg...@googlemail.com> wrote:
>> 
>> \definetypeface[mainface][rm][specserif]  [Lucida Blackletter 
>> OT][default][features=default]
>> \definetypeface[mainface][cg][calligraphy][lucidaot]             
>> [default][features=default]
>> 
>> \setupbodyfont[mainface]
>> 
>> \definebodyfontenvironment[default][em=cg]
>> 
>> \starttext
>> 
>> \input knuth
>> 
>> roman {\cg calligraphic} roman {\em emphasized} roman
>> 
>> \stoptext
> 
> Works fine in a single file, but as soon as I try using it in a
> project environment, it hangs..
> 
> A minimal environment test file:
> \startenvironment env_ms_blackletter
> 
> \definetypeface[mainface][rm][specserif]  [Lucida Blackletter 
> OT][default][features=default]
> 
> \setupbodyfont[mainface]
> 
> \stopenvironment

There are two ways to get around this:

1. Load the environment before \startcomponent or \startproduct

2. Add a definition for a math font, e.g.

  \definetypeface[mainface][mm][math][lucidaot][default]

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