Martin Rubey wrote:
> "Alasdair McAndrew" <[EMAIL PROTECTED]> writes:
> 
> > Lovely stuff!  Well done, Martin!
> 
> Thanks.
> > 
> > I found the green output a bit garish for my tastes, so I changed the output
> > foreground to blue, and the background to white.  I have discovered one
> > problem, though:
> > 
> > )read newton )quiet
> 
> This should be fixed with the version below.  Unfortunately, pamphlet
> documentation and code are a little out of sync now, since I did a bit of
> cleaning.
> 
> The main source of bugs is recognising when axiom has finished a calculation.
> We really should switch to keep track of the input line.
> 

Just a little observation, after doing:

)set output tex on

I get the output below.  Note that all normal Axiom output is 
indented, while TeX output begins just at the begining of
the line.  So if you just scan for dolar as first char you
know that algebra output has ended.  Skipping over TeX
output should be very easy.

BTW.  Looking at 'output' routine in i-output.boot.pamphlet it
seem quite easy to add any markers that you need (just print
them before and/or after call to 'mathprintWithNumber').



(2) -> (x^20 - 1)/(x -1)

   (2)
      19    18    17    16    15    14    13    12    11    10    9    8    7
     x   + x   + x   + x   + x   + x   + x   + x   + x   + x   + x  + x  + x
   +
      6    5    4    3    2
     x  + x  + x  + x  + x  + x + 1
$$
{x \sp {19}}+{x \sp {18}}+{x \sp {17}}+{x \sp {16}}+{x \sp {15}}+{x \sp
{14}}+{x \sp {13}}+{x \sp {12}}+{x \sp {11}}+{x \sp {10}}+{x \sp 9}+{x \sp
8}+{x \sp 7}+{x \sp 6}+{x \sp 5}+{x \sp 4}+{x \sp 3}+{x \sp 2}+x+1
\leqno(2)
$$

                                            Type: Fraction Polynomial Integer
(3) ->

-- 
                              Waldek Hebisch
[EMAIL PROTECTED] 


_______________________________________________
Axiom-developer mailing list
Axiom-developer@nongnu.org
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to