Closed kegreen closed 10 years ago
Thanks for this, the previewer does have this problem and we shall correct this as soon as possible. Note that on running the maths display in the question is shown correctly,
Bill
From: kegreen [notifications@github.com] Sent: 18 July 2014 18:34 To: numbas/editor Subject: [editor] JME Part Preview Issue (#208)
I have created a question with a JME part. In the question preamble, a script sets displaySimplification to ['!all', '!basic'] for the JME part. I have observed the following behavior when answers are entered: if p - (5 + h) is entered, the preview correctly shows the same thing, p - (5 + h); if, instead, p - ( 5 - h) is entered, the preview, incorrectly, simply drops the parentheses and shows p - 5 - h. (If -(5 - h) is entered, the preview does correctly display the same thing, -(5 - h).)
— Reply to this email directly or view it on GitHubhttps://github.com/numbas/editor/issues/208.
I have created a question with a JME part. In the question preamble, a script sets displaySimplification to ['!all', '!basic'] for the JME part. I have observed the following behavior when answers are entered: if p - (5 + h) is entered, the preview correctly shows the same thing, p - (5 + h); if, instead, p - ( 5 - h) is entered, the preview, incorrectly, simply drops the parentheses and shows p - 5 - h. (If -(5 - h) is entered, the preview does correctly display the same thing, -(5 - h).)