# [Xerte] Re: LaTex maths script

John Horton John.Horton at nottingham.ac.uk
Wed Jun 26 09:34:11 BST 2013

That has turned out to be exactly the case – Julian has fixed it here. (Mathjax was firing once and once only.)

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy
Sent: 26 June 2013 08:57
To: Xerte discussion list
Subject: [Xerte] Re: LaTex maths script

Sounds like the Mathjax isn't firing? Are there JS errors?

On 26 Jun 2013, at 08:50, John Horton <John.Horton at nottingham.ac.uk<mailto:John.Horton at nottingham.ac.uk>> wrote:
From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 23 May 2013 12:21
To: Xerte discussion list
Subject: [Xerte] Re: LaTex maths script

The fact that we loose '\'when reentering the editor is a known issue. I'll give it another go to try and fix this.

In the mean time, the math capabilities  of Xerte Online Toolkits 2.0 have been enhanced with MathJax. So if you have XOT 2,0 at your disposal you can do the same with:

Re=(rho*nu*d)/eta

This is the so-called AsciiMath syntax. Latex should work as well, but then you would have to cope with '\' again, so no point in doing that now.

<image001.png>

Hello,

A colleague in Chemistry at Nottingham has been using equations in Toolkits over the last few days and she is overjoyed that she can now display algebra properly. However, she has managed to find a bug. Although I’ve not read all the correspondence about backslashes and losing them when re-entering the editor, her problem does seem to be related (even if only superficially).

Here’s how to reproduce it. Create a quiz and add some algebra to the question or the possible answers. Add some other icon to the main flow-line. Run the program; observe that the algebra is displayed correctly; go to the next page; return to the quiz page; observe that the algebra is now displayed exactly as it was put into the editor e.g. E = mc2 now appears as  E=mc^2.

Does anyone have any suggestions about how to avoid this?

John Horton

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20130626/2b4279c8/attachment-0001.html>