This is an example of trying to err on the side of being overly correct for our output. For example, if you input
sage: sqrt(2)*5 it will get simplified to 5*sqrt(2). But this relies on the behavior of maxima's simplification. \sqrt{2} \cdot 5 is much better than \sqrt{2}5, which is what could happen if we left the cdot out in all cases. I think the solution is to use some logic to remove the \cdot in some cases, but leave it there in others. For example, juxtaposing two numbers with no dot to signify multiplication leads to confusing output, and in fact the TeX function that comes with Maxima has this exact bug. One of the small projects I want to get done in the week between classes and SD4 is redoing the symbolic output to be less redundant, and this fits in with that. ~Bobby On 5/31/07, Michel <[EMAIL PROTECTED]> wrote: > > > Recently I also encountered this "\cdot". I think it does not > correspond > to usual mathematical typesetting so perhaps it should go. > > Michel > > On May 31, 5:23 pm, "Joel B. Mohler" <[EMAIL PROTECTED]> wrote: > > On Thursday 31 May 2007 11:09, William Stein wrote: > > > > > The file calculus/calculus.py, which is what should be responsible for > all > > > typesetting of symbolic objects, contains exactly one instance of > \\cdot > > > (around line 2700). Try removing that and letting us know if the > behavior > > > is acceptable to you; if so maybe we'll just remove it. > > > > I removed it and it is more to my liking. I suppose that if you used > multiple > > character variable names, you might like the "\cdot". It would seem to > me > > that most people won't use multiple character variable names though (and > > probably wouldn't convert to latex if they did). I would probably vote > to > > remove the \cdot, but I'm not entirely convinced one way or the other. > > > > > It's some bug with either parsing data that is output by Maxima, > > > or with how maxima is interpreting something we give it. > > > The only way to fix this is for you to post an example. > > > > Right, I'll try and capture the bug on a more manageable chunk of data. > > > > -- > > Joel > > > > > -- Bobby Moretti [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---