On Tue, May 14, 2002 at 11:59:42AM +0200, Andre Poenitz wrote:
> On Tue, May 14, 2002 at 12:29:49PM +0300, Dekel Tsur wrote:
> > > Because guessing can go wrong.
> > 
> > You just go over all macros in math, and when finding macros that are only
> > available in AMSmath, you load amsmath.
> > The only thing that can go wrong is that the user might have defined his own
> > macro with name of one of the AMS macros.
> 
> Indeed, and that's exactly the problem. That's why the proposal
> "use AMS whenever the user states so in his preferences" (with default to
> "on").

The problem with this suggestion is:
1) Most users, will not use this button, and the result is that
amsmath will always be loaded, even when not needed by the user.

2) When the button "use AMS" is off, you need to turn off
parsing of the AMS commands inside mathed.
It will make the code a little bit ugly, namely you will have many
   if (buffer.use_ams) {...}
clauses.

Reply via email to