Hello everyone,

 

I search a way to translate the following XeLaTeX's declarations (based on the unicode-math package):

 

\setmainfont{Linux Libertine G}

\setsansfont[Scale=MatchLowercase]{Liberation Sans}

\setmonofont[Scale=MatchLowercase,

  ItalicFont=lmmono10-italic.otf,

  BoldFont=lmmonolt10-bold.otf,

  BoldItalicFont=lmmonolt10-boldoblique.otf,

  SmallCapsFont=lmmonocaps10-regular]{lmmono10-regular.otf}

\setmathfont[Scale=MatchLowercase]{TeX Gyre Termes Math}

\setmathfont[Scale=MatchLowercase, range=\mathup]{linlibertine_r_g.ttf}

\setmathfont[Scale=MatchLowercase, range=\mathbfup]{linlibertine_rz_g.ttf}

\setmathfont[Scale=MatchLowercase, range=\mathsfup]{liberationsans-regular.ttf}

\setmathfont[Scale=MatchLowercase, range=\mathsfit]{liberationsans-italic.ttf}

\setmathfont[Scale=MatchLowercase, range=\mathbfsfup]{liberationsans-bold.ttf}

\setmathfont[Scale=MatchLowercase, range=\mathbfsfit]{liberationsans-bolditalic.ttf}

\setmathfont[Scale=MatchLowercase, range=\mathtt]{lmmono10-italic.otf}

\setmathfont[Scale=MatchLowercase, range=\mathscr]{asana-math.otf}

 

into a ConTeXt's typescript. I succeed to set the serif, sansserif and mono fonts; but I need help for the math settings.

 

\startenvironment liberty
  \starttypescript [liberty]
    \definefontsynonym [Serif] [file:LinLibertine_R_G]
    \definefontsynonym [SerifCaps] [Serif] [features=smallcaps]
    \definefontsynonym [SerifItalic] [file:LinLibertine_RI_G]
    \definefontsynonym [SerifSlanted] [SerifItalic]
    \definefontsynonym [SerifBold] [file:LinLibertine_RZ_G]
    \definefontsynonym [SerifBoldItalic] [file:LinLibertine_RZI_G]
    \definefontsynonym [SerifBoldSlanted] [SerifBoldItalic]
 
    \definefontsynonym [Sans] [file:LiberationSans-Regular]
    \definefontsynonym [SansCaps] [Sans] [features=smallcaps]
    \definefontsynonym [SansItalic] [file:LiberationSans-Italic]
    \definefontsynonym [SansSlanted] [SansItalic]
    \definefontsynonym [SansBold] [file:LiberationSans-Bold]
    \definefontsynonym [SansBoldItalic] [file:LiberationSans-BoldItalic]
    \definefontsynonym [SansBoldSlanted] [SansBoldItalic]
 
    \definetypeface [liberty] [rm] [serif] [liberty] [default]
    \definetypeface [liberty] [ss] [sans] [liberty] [default] [rscale=0.816]
    \definetypeface [liberty] [tt] [mono] [modern] [default]
  \stoptypescript
  \setupbodyfont[liberty, serif, 10pt]
\stopenvironment

Thanks in advance.

Joas Kinouani

PS: Does someone know what is the equivalent of Scale=MatchLowercase?