Hi Wolfgang, thanks for your help!. Still no avail... My script looks now like \definefontfeature[smcp][default][smcp=yes] \starttypescript [sans] [seravek] [name] \definefontsynonym [Seravek-Roman] [file:Seravek-Regular] [features=default] \stoptypescript \starttypescript [sans] [seravek] \definefontsynonym [Sans] [Seravek-Roman] [features=default] \definefontsynonym [SansCaps] [Seravek-Roman] [features=smcp] \stoptypescript \starttypescript [Seravek] \definetypeface [Seravek] [ss] [sans][seravek][default] \definetypeface [Seravek] [mm] [math][palatino][default] \stoptypescript %\def\sc{\addff{smcp}} \starttext {\sc Smallcaps: \fontname\font. Amsterdam, 1234567890} \stoptext This gives no smallcaps wether the \def is active or not. Strange thing is, that is works with lm and pagella (tested). Willi On 7 Jan 2011, at 11:22, Wolfgang Schuster wrote:
Am 06.01.2011 um 23:02 schrieb Willi Egger:
Hm, has something change in the way a font feature should be implemented?
\definefontsynonym [SansRegularCaps] [Sans] [ features=smallcaps]
\definefontsynonym [SansCaps] [Sans] [features=smallcaps]
If I add \def\sc{\addff{smcp} I get still no smallcaps.
You need \definefonfeature[smcp][smcp=yes] to enable a feature with \addff or \addfs.
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 ___________________________________________________________________________________