[sage-support] Re: confusing output? latex(7-(-1)^(1/3))

2009-01-18 Thread William Stein
On Sun, Jan 18, 2009 at 10:07 AM, Robert Dodier wrote: > > William Stein wrote: > >> sage: a = 7-(-1)^(1/3) >> sage: latex(a._maxima_()) >> 7-\left(-1\right)^{{{1}\over{3}}} >> >> Don't use maxima(a), since then you'll get a in a session of maxima >> that has different defaults than the calculus

[sage-support] Re: confusing output? latex(7-(-1)^(1/3))

2009-01-18 Thread Robert Dodier
William Stein wrote: > sage: a = 7-(-1)^(1/3) > sage: latex(a._maxima_()) > 7-\left(-1\right)^{{{1}\over{3}}} > > Don't use maxima(a), since then you'll get a in a session of maxima > that has different defaults than the calculus module uses, in > particular, roots are always assumed real, which

[sage-support] Re: confusing output? latex(7-(-1)^(1/3))

2009-01-17 Thread Robert Bradshaw
On Jan 17, 2009, at 4:00 PM, William Stein wrote: > On Sat, Jan 17, 2009 at 3:01 PM, Jason Grout > wrote: >> >> William Stein wrote: >>> >>> This bug that you reported is now >>> >>>http://trac.sagemath.org/sage_trac/ticket/5004 >>> >> >> >> This bug came up a while ago on the mailing list a

[sage-support] Re: confusing output? latex(7-(-1)^(1/3))

2009-01-17 Thread William Stein
On Sat, Jan 17, 2009 at 3:01 PM, Jason Grout wrote: > > William Stein wrote: >> >> This bug that you reported is now >> >>http://trac.sagemath.org/sage_trac/ticket/5004 >> > > > This bug came up a while ago on the mailing list and already had a trac > ticket: > > http://trac.sagemath.org/sage

[sage-support] Re: confusing output? latex(7-(-1)^(1/3))

2009-01-17 Thread Jason Grout
William Stein wrote: > > This bug that you reported is now > >http://trac.sagemath.org/sage_trac/ticket/5004 > This bug came up a while ago on the mailing list and already had a trac ticket: http://trac.sagemath.org/sage_trac/ticket/4548 I guess it's a dup now, since 5004 has the patch

[sage-support] Re: confusing output? latex(7-(-1)^(1/3))

2009-01-17 Thread William Stein
On Sat, Jan 17, 2009 at 1:57 PM, Mike Hansen wrote: > > Hello, > > On Sat, Jan 17, 2009 at 1:25 PM, William Stein wrote: >> This bug that you reported is now >> >> http://trac.sagemath.org/sage_trac/ticket/5004 > > I've posted a patch there which should take care of the issue. > > --Mike Nice

[sage-support] Re: confusing output? latex(7-(-1)^(1/3))

2009-01-17 Thread Mike Hansen
Hello, On Sat, Jan 17, 2009 at 1:25 PM, William Stein wrote: > This bug that you reported is now > > http://trac.sagemath.org/sage_trac/ticket/5004 I've posted a patch there which should take care of the issue. --Mike --~--~-~--~~~---~--~~ To post to this gro

[sage-support] Re: confusing output? latex(7-(-1)^(1/3))

2009-01-17 Thread William Stein
On Sat, Jan 17, 2009 at 8:22 AM, ma...@mendelu.cz wrote: > > Hello all > > The command latex(7-(-1)^(1/3)) produces 7 - {-1}^{\frac{1}{3}} > Is it possible to change it into 7 - \left(-1\right)^{\frac{1}{3}} > > Which function should be redefined to gain this behavior? > > I think that two minu