Thank you very much Taco and Florian. After a quick test it seems to work. Now I have something to fiddle around with.
Cheers Christian Am Mittwoch, 9. Februar 2011, um 12:09:40 schrieb Taco Hoekwater: > On 02/09/11 11:35, Christian wrote: > > Hi all, > > > > my goal is to use Minion Pro as text face and Myriad Pro as sans serif in > > headings etc. I use TeXlive, ConTeXt 2009.11.26 16:28, MKiV. > > Based on ideas from the forthcoming book "context mkiv -- Fonts": > > % note: I have deleted all lines except the relevant ones for defining > % the semi bold alternatives > > \definefontalternative [sb] > \definefontalternative [si] > > \definebodyfont [default] [ss] > [sb=SansSemiBold sa 1, > si=SansSemiBoldItalic sa 1] > > \starttypescript [sans] [myriadpro] > \definefontsynonym [MyriadPro-SemiBold] [name:myriadprosemibold] > \definefontsynonym [MyriadPro-SemiBoldIt][name:myriadprosemiboldit] > \stoptypescript > > \starttypescript [sans] [myriadpro] > \definefontsynonym [SansSemiBold] [MyriadPro-SemiBold] > [features=default] > \definefontsynonym [SansSemiBoldItalic] [MyriadPro-SemiBoldIt] > [features=default] > \stoptypescript > > \starttypescript [myriadpro] > \definetypeface [myriadpro] [ss] [sans] [myriadpro] [default] > \stoptypescript > > \usetypescript[myriadpro] > > \starttext > > \switchtobodyfont[myriadpro,ss] > > \sb Hello > \si Italic > > \stoptext ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / 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 ___________________________________________________________________________________
