strange behavior of tex()



See SF bug 955404:

 
http://sourceforge.net/tracker/index.php?func=detail&aid=955404&group_id=4933&atid=104933

the proposed fix doesn't work anymore. 

Barton

maxima-bounces at math.utexas.edu wrote on 01/16/2008 03:50:21 PM:

> Thanks Robert.  I see that the important function is
> "makorder" in comm2.lisp.
> But I have no idea how to modify it!
> 
>          Kostas
> 
> Robert Dodier wrote:
> > On 1/15/08, Kostas Oikonomou <ko at research.att.com> wrote:
> > 
> >> (%i8) ordergreat(a,b,c);
> >> (%o8)                                done
> >> (%i9) tex(expand((a+b+c)^3));
> >> $${\it \_103a}^3+3\,{\it \_102b}\,{\it \_103a}^2+3\,{\it
> >> \_101c}\,
> > 
> > Oh, ordergreat creates a new symbol _nnnfoo for each foo that
> > it processes and then makes _nnnfoo an alias of foo so that it
> > appears as foo in ordinary output. I guess ordergreat should
> > also assign a TEXWORD property to _nnnfoo to make it display
> > as foo in tex output.
> > 
> > A workaround is to assign the tex property by hand, e.g.:
> > texput (?_103a, "a");
> > 
> > I'll put this on my to-do list, but if someone beats me to it
> > I won't be upset.
> > 
> > best,
> > 
> > Robert Dodier
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima