[EMAIL PROTECTED] wrote:
> Hi everyone,
> 
> This topic has already been discussed on the list, but I didn't clearly
> understand the conclusion, so I'm asking again... It is not clear to me why 
> the
> following
> 
> \everymath{\displaystyle}
> \starttext
> \startformula \frac{1}{A'} \stopformula
> $\frac{1}{A'}$
> \stoptext
> 
> fails with ConTeXt (on the ' inside $.$), while
> 
> \documentclass{minimal}
> \everymath{\displaystyle}
> \begin{document}
> \[ \frac{1}{A'} \]
> $\frac{1}{A'}$
> \end{document}
> 
> is ok with LaTeX.
> 
> The use of \everymath is to blame here, but why?

it's pretty dangerous to overload \everymath

maybe \appendtoks\displaystyle\to\everymath works

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to