The result of adding:
\definetypeface[test][rm][serif][latin-modern][default] \definetypeface[test][mm][math] [latin-modern][default]
\setupbodyfont[test]
Make no difference whatsoever.
"Sorry, but I can't typeset math unless various parameters have
been set. This is normally done by loading special math fonts
into the math family slots. Your font set is lacking at least
the parameter mentioned earlier.
! Math error: parameter \Umathquad\displaystyle is not set.
system > tex > error on line 20 in file bullet-problem.tex: Math error: parameter \Umathquad\displaystyle is not set ...
"
"
As pointed out an arument is not being passed through to a lower level and apparently in this case the argument is probably NULL or not valid.
However adding: "\setmathfont[modern] " did allow normal default symbols working.
Only problem now is a halting compile with error messages and inability to use $/diamond$ (and other symbols) as bullet shapes/characters.
Regards
Wolfgang Schuster
Am 18.06.2013 um 23:41 schrieb Hans Hagen
: On 6/18/2013 1:38 PM, hwitloc@gmail.com wrote:
Aditya, thanks for the information adding \setmathfont[modern] It fixed the problem for the default bullet symbols. But, it did not fix the case where I'm trying to use the $\diamond$ symbol as the bullet, and compile time errors occur. I will attach the log file. Hopefully you can identify what is missing.
I apologize for my lack of knowledge about fonts details and handling at this poing, but am learning. Here is the minimal exampple:
the names of lm math fonts have changed a few times ... if you use the file: prefix and goodie files are loaded the logic makes sure that at least one is found
so, the question is: does simplefonts (the one on your machine) define the lm math font in the right way (read: adapted to the latest fashion)
The simplefonts module passes the \setmathfont argument to the \definetypeface command and the default setup should be similar to the following example. I already sent the example once but got no answer what’s the result from it.
\definetypeface[test][rm][serif][latin-modern][default] \definetypeface[test][mm][math] [latin-modern][default]
\setupbodyfont[test]
\starttext Text and $math$. \stoptext
Wolfgang