Martin Rubey wrote:
> 
> Waldek Hebisch <[email protected]> writes:
> 
> > I have now updated MathML format and also did a few changes to
> > TeX and Texmacs format.  The changes should fix few
> > problems.  First, long standing problem with missing
> > parenthesis.
> 
> Here is a testcase.  I have no way currently to check anything but the
> output of OutputForm, but in any case that's wrong.  The OutputForm
> itself seems to be correct:
> 
> (1) -> r := first guess([reduce(+, [factorial i for i in 1..n]) for n in 
> 1..6]); r::OUTFORM::SEX
> 
>    (1)
>    (+
> 
>      (SIGMA2  (=3D (*01s 6) 0)  (+ n - 1)
>       (* 2 (PI2 (=3D (*01p 5) 0) (+ (*01s 6) - 1) (+ (*01p 5) 3))))
> 
>     1)
>                                                             Type: SExpressi=
> on
> (2) -> )se ou tex on
> (2) -> )se ou texmacs on
> (2) -> )se ou mathml on
> (2) -> r
> 
>                 s  - 1
>         n - 1    6
>          --+    ++-++
>    (2)   >     2 | |    p  + 3 + 1
>          --+     | |     5
>         s = 0   p = 0
>          6       5
> 

Thanks for the test. Text output is wrong (I did no change to text
output).  AFAICS Texmas and MathML output is correct: both in Texmas
and MathML version the 'p_5 + 3' term is in parenthesis.

-- 
                              Waldek Hebisch
[email protected] 

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en.

Reply via email to