# Question:Problems with and bugs of equation editor

## Question:Problems with and bugs of equation editor

Maple Toolboxes

I have encountered two problems with the symbolic editor in Maple T.A. 2.5. Both problems do not occur in Version 2.0.1:

Problem 1: Typesetting x^\$n in authoring a question.
This will result in
--
<math xmlns='http://www.w3.org/1998/Math/MathML'><mstyle fontfamily='Times New Roman' mathsize='12' mathcolor='#000000' mathbackground='#ffffff' ><mrow></mrow></mstyle>[/itex]<math xmlns='http://www.w3.org/1998/Math/MathML'><mstyle fontfamily='Times New Roman' mathsize='12' mathcolor='#000000' mathbackground='#ffffff' ><mrow><mrow><msup superscriptshift='0'><mi mathcolor='#000000' mathbackground='#ffffff' mathsize='12' mathvariant='italic' fontfamily='Times New Roman'>x</mi><mrow><mi mathcolor='#000000' mathbackground='#ffffff' mathsize='12' mathvariant='italic' fontfamily='Times New Roman'>\$</mi><mi mathcolor='#000000' mathbackground='#ffffff' mathsize='12' mathvariant='italic' fontfamily='Times New Roman'>n</mi></mrow></msup></mrow></mrow></mstyle>[/itex]
--
Note that \$ and n are separated. So the variable \$n is effectively torn apart into \$ times n. The only remedy I found is to typeset x^{\$n}. But then the curly brackets will be typeset as well.

Problem 2:
The following question askes for the exact value of sin(pi/4).
--
mode=Formula@
name=sin(pi/4)@
editing=useHTML@
algorithm=\$vorfaktor = '1/4';
\$auszuwerten = maple("printf(MathML:-ExportPresentation(sin(\$vorfaktor*pi)))"); 