On 10/8/2017 3:27 PM, Aditya Mahajan wrote:
Hi,
In the past, it was possible to use the text font for math functions using \setupmathematics[style=normal] https://mailman.ntg.nl/pipermail/ntg-context/2015/082212.html
However, that does not work now. Here is a minimal example:
\usetypescriptfile[euler] \definetypeface[mainfont][rm][serif][pagella][default] \definetypeface[mainfont][mm][math] [pagellaovereuler][default] \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, features=none]
\setupbodyfont[mainfont]
\setupmathematics[lcgreek=normal, ucgreek=normal, default=normal] \setupmathematics[functionstyle=normal]
\starttext $sin$ vs $\sin$ \stoptext
Notice that $\sin$ prints $normalsin$.
If I change to `function=\tf`, even then $\sin$ uses mathrm font rather than textrm font.
How do I get textrm for math functions? in math-ini.mkiv replace
\??alternativestyles by \??alternativestyle (so singular) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------