Tim Daly wrote: > Arthur, > > zerosOf(y**4+1,y) > definingPolynomial %y1 > 2 > %%var +1 > > but mathml gives: > 2 > var +1 > > somebody ate the %%. >
The following should fix the problem (removes percent eater): --- /home/s/test/tt/fricas/trunk/src/algebra/mathml.spad.pamphlet 2007-10-03 21:15:17.000000000 +0200 +++ trunk/src/algebra/mathml.spad.pamphlet 2007-12-05 14:05:38.000000000 +0100 @@ -1267,10 +1270,6 @@ -- ExponentialE str = "%i" => "<mi>ⅈ</mi>" -- ImaginaryI - -- what sort of atom starts with %%? need an example - len > 1 and str.1 = char "%" and str.2 = char "%" => - u : US := segment(3,len)$US - concat(concat("<mi>",str.u),"</mi>") len > 0 and str.1 = char "%" => concat(concat("<mi>",str),"</mi>") len > 1 and digit? str.1 => concat ["<mn>",str,"</mn>"] -- should handle floats -- presumably this is a literal string -- Waldek Hebisch [EMAIL PROTECTED] _______________________________________________ Axiom-developer mailing list Axiom-developer@nongnu.org http://lists.nongnu.org/mailman/listinfo/axiom-developer