hello,

There are some problems with the printed form of certain AxiomElements:

=======================================
sage:a = axiom('2+7')
sage:a/7
  -
  7
                Type: Fraction Integer
---------------------------------------

But, surprisingly, not:

=======================================
sage: axiom('2+7')/7
 
  9
  -
  7
                Type: Fraction Integer
---------------------------------------

Same comment for the following:

=======================================
sage:a = axiom('2+7/x')
sage:a/9
 
  ------
    9x

       Type: Fraction Polynomial Integer

sage: a = axiom('sqrt(x)')
sage: a/7
 
  \|x
  ----
    7
---------------------------------------

but note that these expressions are sometimes correctly printed if you
hit <enter> (without input) and/or print 'a' several times (to reproduce
this you'll need to play with <enter> and 'a'):

================================================================
sage: a = axiom('2+7/x')

sage: a/9
 
  ------
    9x
                              Type: Fraction Polynomial Integer

sage: a # print a
 
  2x + 7
  ------
    9x
                              Type: Fraction Polynomial Integer

sage: a/9
 
  2x + 7
  ------
    9x
                              Type: Fraction Polynomial Integer
------------------------------------------------------------------

A workaround, on my configuration, is to change the Axiom line length of
output. To change it you must issue ')set message output x' where x is
the length. For me it seems to work with a length of 120 (which is the
width of my terminal, but I don't think it's related). I don't know if
and how it is possible to issue this command in SAGE so it can be added
to ~/.axiom.input (Axiom reads it when it starts).

Greg

PS: I'm reporting this bug on the SAGE web site.


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@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-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to