\definefontfeature [firacode] [mode=node,script=dflt,language=dflt,calt=yes,mark=yes,mkmk=yes]
\starttypescript [mono] [firacode] \definefontsynonym[FiraBold] [name:firacodebold] [features=firacode] \definefontsynonym[FiraLight] [name:firacodelight] [features=firacode] \definefontsynonym[FiraMedium] [name:firacodemedium] [features=firacode] \definefontsynonym[FiraRegular][name:firacoderegular][features=firacode] \definefontsynonym[FiraRetina] [name:firacoderetina] [features=firacode] \definefontsynonym[Mono] [FiraRegular] \definefontsynonym[MonoItalic] [FiraRegular] \definefontsynonym[MonoSlanted] [FiraRegular] \definefontsynonym[MonoBold] [FiraBold] \definefontsynonym[MonoBoldItalic] [FiraBold] \definefontsynonym[MonoBoldSlanted][FiraBold] \stoptypescript \starttypescript[firacode] \definetypeface[firacode][rm][serif][dejavu] [default] \definetypeface[firacode][ss][sans] [dejavu] [default] \definetypeface[firacode][mm][math] [dejavu] [default] \definetypeface[firacode][tt][mono] [firacode][default] \stoptypescript \setupbodyfont[firacode,12pt] > On 24 Aug 2018, at 05:06, Michael Zhu <boot2li...@gmail.com> wrote: > > Hi all, > > Fira Code is Monospaced font with programming ligatures. I don't know > how to enable ligatures feature. > > I hope someone can give me an example. > > https://github.com/tonsky/FiraCode > > Michael > ___________________________________________________________________________________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ Taco Hoekwater Elvenkind BV ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________