At 10:24 03.08.2001 +0300, Tarik Kara wrote:
>A while ago a have posted a message about \max not working as expected
>when one has
>
>\setupbodyfont[ams]
>
>in the document. For example the following code
>
>\setupbodyfont[ams]
>
>\starttext
>$x = \max \{y: y\in A\}$
>\stoptext
>
>Does not print a "max" after "x=" but prints "{y : y\in A}" at a
>smaller size. I am attaching the pdf output and the log file. What is the
>problem and how can I solve it.
The ams symbols are made available in fonts chosable by \ma and \mb.
According to the context font selection commands, this means that \max
switches to \ma at a smaller size (try \maxx). (Hans will correct me if I
didn't get it right, I hope).
Until the collision is fixed, you could define the max function under a
different name, e.g.
\def\maxf{\mathop{\rm max}\nolimits}
Eckhart