Subject: Correcting priority issues in mactex.lisp
From: Robert Dodier
Date: Tue, 26 May 2009 09:52:09 -0600
On Sun, May 24, 2009 at 9:40 AM, Yasuaki Honda <yhonda at mac.com> wrote:
> 1) h*cos(a) is displayed as "cos a h"
> This is confusing and I want to change the priority of trig functions
> to 119 (rather than today's 130) so that the output looks like
> "(cos a) h".
OK by me.
> I think b[n]+a[n] should be parenthed in sum. The same thing
> happens in product(), too. I want to modify tex-sum() so that the
> priority of mplus and %sum are considered.
OK by me.
Those complaining about this change should note that, in fact,
the 2-d display already makes such parentheses, and it has for
a long time (at least since 5.9.2). The proposed change just
makes the TeX output match the 2-d display, which nobody
complained about.
FWIW
Robert Dodier