Closed daute closed 8 months ago
Found it:
In the maxima-code repo doc/implementation/external-interface.txt tells, that maxima offers two variables that allow to tell maxima how to format text: *alt-display1d*
and *alt-display2d*
.
wxMaxima sets *alt-display2d*
to a function that outputs 2D maths in a XML flavour. Maxima therefore talks XML and should also know that it does.
The question now is: Should these tests now look like:
block([result,oldDisplay2d:?\*alt\-display2d\*],
?\*alt\-display2d\*:false,
result:(kill(n),printf(false,"~m",(n!)!)),
?\*alt\-display2d\*:oldDisplay2d,
result);
or should printf
temporarily bind these variables to nil
or (in maxima's wording) false
? I believe the first of two options to be the Right One.
Fixed by the following commit in the Maxima project: https://sourceforge.net/p/maxima/code/ci/02dfab390ca3f523d3547d70b8380122888576c5/
Example 1:
Should return:
(n!)!
(fromrtest9a.mac
)should return:
(from
rtest_trace.mac
. Both when using a current Maxima.)