Perfect. This is an appropriately succinct syntax. > \definefontfamily [mainface] [ss] [Junction] [tf=* Light,bf=* Regular]
> Message: 3 > Date: Sun, 29 Mar 2015 21:31:30 +0200 > From: Wolfgang Schuster <schuster.wolfg...@gmail.com> > To: mailing list for ConTeXt users <ntg-context@ntg.nl> > Subject: Re: [NTG-context] Selecting fonts using the built-in > simplefonts module > Message-ID: <12dc7a91-4a01-4a28-b578-4327cbc64...@gmail.com> > Content-Type: text/plain; charset="utf-8" > > > > Am 29.03.2015 um 20:33 schrieb Jörg Weger <joerg73....@googlemail.com>: > > > >> You need the familyname of the font, you use the font manager of your OS > >> to get the name. > >> > >> \definefontfamily [junction] [rm] [Junction] > >> \definefontfamily [junction] [mm] [Latin Modern Math] > >> > >> \definefontfamily [junction-light] [rm] [Junction] > >> [tf=style:light,bf=style:regular] > > > > I just had it made working this way: > > > > \definefontfamily[mainface] > > [ss] > > [EgalobhierFarinUrlaubodersonstwasoderwersteht] > > [tf=Junction Light, bf=Junction Regular] > > \definefontfamily [mainface] [ss] [Junction] [tf=* Light,bf=* Regular] > > > It seems that as soon as you define your own weights (which you can mix > > from different font families) in the fourth pair of brackets, there can be > > anything in the third pair of brackets (family name). > > > > \definefontfamily[mainface] > > [sans] > > [Anything] > > [regularfont=Junction Light, boldfont=Junction Regular] > > > > works as well and is more self-explaining. > > This will only work when you set a upright font or you will get problems. > -- ---- Pavneet Arora m: 647.406.6843 Waroc Informatik t: 416.937.9276 ___________________________________________________________________________________ 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 ___________________________________________________________________________________