[Xerte] Re: LaTex maths script

Julian Tenney Julian.Tenney at nottingham.ac.uk
Wed Jun 26 09:35:41 BST 2013


I added the code to make it render at the end of the change page function,

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of John Horton
Sent: 26 June 2013 09:34
To: Xerte discussion list
Subject: [Xerte] Re: LaTex maths script

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> [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/e56666cd/attachment.html>


More information about the Xerte mailing list