Am 18.03.2009 um 16:26 schrieb Alan Stone:
On Wed, Mar 18, 2009 at 9:23 AM, Hans Hagen
wrote: (there's also Normal, Bold etc that is even more generic in the sense that it can be sans or serif depending of the situation)
Read and understand! % Typescript for Arial \starttypescript [sans] [arial] \setups [font:fallback:sans] \definefontsynonym [Sans] [ArialNormal] \definefontsynonym [SansItalic] [ArialItalic] \definefontsynonym [SansBold] [ArialBold] \definefontsynonym [SansBoldItalic] [ArialBoldItalic] \stoptypescript \starttypescript [sans] [arial] \definefontsynonym [ArialNormal] [name:arial] [features=default] \definefontsynonym [ArialItalic] [name:arialitalic] [features=default] \definefontsynonym [ArialBold] [name:arialbold] [features=default] \definefontsynonym [ArialBoldItalic] [name:arialbolditalic] [features=default] \stoptypescript \starttypescript [arial] \definetypeface [arial] [ss] [sans] [arial] [default] \stoptypescript % Load the Arial typescript for certain elements \usetypescript[sans][arial] % Load the main typescripts and set the font for the document \usetypescript[palatino] \setupbodyfont[palatino] % Define a new font for the header and set it \definefont[SectionStyle][ArialBold sa 1.5] % Symbolic name for Arial \setuphead[section][style=SectionStyle] \starttext \section{Knuth} \input Knuth \section{Zapf} \input zapf \stoptext Wolfgang