15 Dec
2009
15 Dec
'09
10:15 a.m.
On Fri, 11 Dec 2009, Curiouslearn wrote:
How to obtain the division symbol? Command \div does not work.
\setuppapersize[letter][letter]
\starttext
$ a \div b $
\stoptext
gives output
a div b
math-def.mkiv contains \definemathcommand [div] [limop] {\mfunction{div}} which overrides the definition of \div from char-def.lua. The same line is also present in mkii, but gets overwritten by the correct definition due to different order in which files are loaded. Hans: \div should be mapped to divided sign, so I suggest that we remove the corresponding \definemathcommand lines from math-def.mkiv and math-tex.mkii (see the attached patch). Aditya