Arthur Ralfs wrote:
>
> I think I've corrected all the problems in mathml.spad.pamphlet and put
> the latest version here
>
> http://mathbrane.ca/axiom/index.html
>
> Every time I look at the code I think I should rewrite the whole thing
> but it will have to do for now.
>
> One small bug I haven't figured out yet is this
>
> (1) -> )set output mathml on
> (1) -> mT := MoebiusTransform(Fraction(Integer))
>
> (1) MoebiusTransform(Fraction(Integer))
>
> Type: Type
>
>
>
> For some reason formatMml is not being called on (1).
The following should fix this.
--- i-output.boot 2010-12-09 15:53:39.000000000 -0500
+++ i-output.boot 2011-01-06 15:22:08.000000000 -0500
@@ -1353,6 +1353,8 @@
mathprintWithNumber outputDomainConstructor expr
if $texFormat then
texFormat outputDomainConstructor expr
+ if $mathmlFormat then
+ mathmlFormat outputDomainConstructor expr
T := coerceInteractive(objNewWrap(expr,domain),$OutputForm) =>
x := objValUnwrap T
if $formulaFormat then formulaFormat x
It looks like original Axiom authors for some reason thought
that printing types is only useful for text output and TeX
and ommited it for other types. Of course in similar way
we could printing of types to other formats -- I do not
think we would get something useful for Fortran output, but
other probably should work.
--
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.