Hello,


Could someone be so kind to tell me why I cannot set Times as math font? 

The line  \definetypeface [myFont] [mm] [math,boldmath] [myfont] [default] [encoding=t2a] seems to do nothing; other code works well.


\loadmapfile[t2a-monotype-timesttf.map]


\usetypescriptfile[type-buy]

\usetypescript[serif][fallback]


    \starttypescript [serif] [myfont] [t2a]

      \definefontsynonym [Serif]           [t2a-TINRPSMT] [encoding=t2a]

      \definefontsynonym [SerifBold]       [t2a-TINRPSBM] [encoding=t2a]

      \definefontsynonym [SerifItalic]     [t2a-TINRPSIM] [encoding=t2a]

      \definefontsynonym [SerifBoldItalic] [t2a-TINRPSBI] [encoding=t2a]

    \stoptypescript


    \definetypeface [myFont] [rm] [serif] [myfont] [default] [encoding=t2a]

    \definetypeface [myFont] [mm] [math,boldmath] [myfont] [default] [encoding=t2a]

    \definetypeface [myFont] [tt] [mono] [typewriter][default][encoding=t2a]


    \setupbodyfont[myFont,12pt]


\starttext

Uniform distribution (over an interval) means that every number from that interval is equally probable. The probability density function is given as

$

f(x) = \left\{ {\matrix{

   {{1 \over {b - a}}} & {for\,x \in (a;b)}  \cr 

   0 & {otherwise}  \cr 

 } } \right.

$

\stoptext


--

Best,

 Vyatcheslav