Am 10.04.2013 um 10:00 schrieb "H. Özoguz" <h.oezo...@mmnetz.de>:

> Am 10.04.2013 00:44, schrieb ntg-context-requ...@ntg.nl:
>> I corrected your example above:
>> 
>> \starttypescript [serif] [nimbus]
>>   \definefontsynonym [Serif]           [file:AGaramondPro-Regular.otf]
>>   \definefontsynonym [SerifBold]       [file:AGaramondPro-Bold.otf]
>>   \definefontsynonym [SerifItalic]     [file:AGaramondPro-Italic.otf]
>>   \definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]
>> \stoptypescript
>> 
>> \definefontfeature[default][default][protrusion=quality,expansion=quality]
>> 
>> \definetypeface [nimbus] [rm] [serif] [nimbus] [features=default]
>> 
>> \setupbodyfont[nimbus,rm,12pt]
>> 
>> \setupalign[hz,hanging]
>> 
>> \starttext
>> \input tufte
>> \stoptext
>> 
>> Wolfgang
> Hi Wolfgang,
> 
> thank you. But your correction does not work, too. With your code the font 
> AGaramondPro is not used, and no hanging either (even not with the then used 
> Standard-Font). If I remove
> 
> [features=default]
> 
> then again Garamond is used, but still without hanging. It seems very tricky 
> to define these things correctly, at least for me... :)


I missed a parameter for \definetypeface, replace the defintion above with this 
one:

\definetypeface [nimbus] [rm] [serif] [nimbus] [default] [features=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