At 10:29 AM 8/3/2001 +0200, Eckhart Guth�hrlein wrote:
>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}

ah, that's a pretty good analysis, i need to catch this!

for the moment say:

   \appendtoks\protected\def\max{\dohandlemathtoken{max}}\to\everymath

in cont-new.tex

Hans


PS. Time to test this in font-ini.tex: �  {%\def\c!mm!{#2}\ifx\c!mm!\c!mm 
\else % test first

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------

Reply via email to