TH> Since the new font selection scheme in context was introduced the math 
TH> module has been broken. I've been too busy to look into the changes
TH> that are required. With some luck, I may be able to do something about
TH> it next week. Until then, you are on your own. Sorry.

My limited testings in trying to make the m-math module work in
modern ConTeXt led to this patch. Find

\def\docompletefontswitch[#1]%
  {\bodyfontsize=#1\relax
   \dimensiontocount\bodyfontsize\bodyfontpoints
   \edef\bodyfontfactor{\withoutpt\the\bodyfontsize}%
   \normalizebodyfontsize\bodyfontsize\to\normalizedbodyfontsize
   \edef\textface{\getvalue{\??ft\normalizedbodyfontsize\s!text}}%
   \edef\scriptface{\getvalue{\??ft\normalizedbodyfontsize\s!script}}%
   \edef\scriptscriptface{\getvalue{\??ft\normalizedbodyfontsize\s!scriptscript}}%
   \settextfonts
   \setmathfamilies\fontstyle
   \rmtf
   \the\everybodyfont}  

and change it to:

\def\docompletefontswitch[#1]%
  {\bodyfontsize=#1\relax
   \dimensiontocount\bodyfontsize\bodyfontpoints
   \edef\bodyfontfactor{\withoutpt\the\bodyfontsize}%
   \normalizebodyfontsize\bodyfontsize\to\normalizedbodyfontsize
   \dosetbodyfontface \textface         \s!text
   \dosetbodyfontface \scriptface       \s!script
   \dosetbodyfontface \scriptscriptface \s!scriptscript
   \settextfonts
   \setmathfamilies\fontstyle
   \rmtf
   \the\everybodyfont}

which should allow it to load.

Reply via email to