[Xerte] Re: Math Symbols
Adam Read
aread at marjon.ac.uk
Fri Jan 21 15:32:48 GMT 2011
Don't really get fiddler. Here's what im getting from my machine
#
Result
Protocol
Host
URL
Body
Caching
Content-Type
Process
Comments
Custom
21
404
HTTP
elearning.net.marjon.ac.uk
/favicon.ico
1,635
text/html
chrome:5796
22
200
HTTP
elearning.net.marjon.ac.uk
/rlo/play.php?template_id=201
1,079
text/html
chrome:5796
23
404
HTTP
elearning.net.marjon.ac.uk
/favicon.ico
1,635
text/html
chrome:5796
24
200
HTTP
elearning.net.marjon.ac.uk
/rlo/USER-FILES/201-aread-Nottingham/data.xml?time=1295623900
363
text/xml
chrome:5796
25
404
HTTP
elearning.net.marjon.ac.uk
/rlo/undefined?t=1295623900687
1,635
text/html
chrome:5796
Adam
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 21 January 2011 15:00
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
I want to see what URL is being requested for the latex stuff:
I get this when I try and debug in fiddler - problem?
[cid:image001.png at 01CBB980.75038AF0]
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 21 January 2011 14:44
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
It does seem strange
Here my LO running the code below: http://elearning.net.marjon.ac.uk/rlo/play.php?template_id=201
Can anyone else get proper symbols appearing in an LO using John's code:
<tex src="ax^2 + bx + c"></tex>
<br><br>are given by the formula
<br><tex src="\frac{-b \pm \sqrt{b^2 - 4ac}}{2a} "></tex>
<br><br><br>where
<br><tex src="a \neq 0"></tex>
Should display like:
[cid:image002.jpg at 01CBB980.75038AF0]
Not like this:
[cid:image003.png at 01CBB980.75038AF0]
Adam
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 21 January 2011 14:36
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
Bit lost then, because those are images returned from a server somewhere. Not sure why the requests from your machine / network for the same thing to the same place return different results...
Post the link to your object so we can run it?
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 21 January 2011 14:35
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
Yep - updated it earlier to fix the gapfill problem.
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 21 January 2011 14:19
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
What XMLEngine.swf have you got?
Is it this one?
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 21 January 2011 14:17
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
Hi John
Thanks very much for providing the examples. However, mine still doesn't seem to want to render special characters.
First example:
[cid:image004.png at 01CBB980.75038AF0]
Returns this in Xerte:
[cid:image005.png at 01CBB980.75038AF0]
Any ideas?
Adam
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of John Horton
Sent: 21 January 2011 14:06
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
Here are some examples:
<tex src="ax^2 + bx + c"></tex>
<br><br>are given by the formula
<br><tex src="\frac{-b \pm \sqrt{b^2 - 4ac}}{2a} "></tex>
<br><br><br>where
<br><tex src="a \neq 0"></tex>
[cid:image006.png at 01CBB980.75038AF0]
<tex src="e^{-i\pi} \;+ \;1 \;=\; 0"></tex>
[cid:image007.png at 01CBB980.75038AF0]
<tex src="E = mc^2"></tex>
<br><br>where
<br><tex src="m = \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}}"></tex>
[cid:image008.png at 01CBB980.75038AF0]
<tex src="\frac{1}{c^2}\; \frac{\partial \psi^2}{\partial t^2} \;=\; \nabla^2\psi"></tex>
[cid:image009.png at 01CBB980.75038AF0]
This is the general equation where H is the Hamiltonian:
<br><tex src="i\hbar {\partial\Psi(\mathbf{r} ,\,t) \over \partial t} = \hat H \Psi(\mathbf{r},\,t)"></tex>
<br><br>For a single particle in three dimensions it can reduced to:
<tex src="i\hbar\frac{\partial}{\partial t} \Psi(\mathbf{r},\,t) = -\frac{\hbar^2}{2m}\nabla^2\Psi(\mathbf{r},\,t) + V(\mathbf{r})\Psi(\mathbf{r},\,t)"></tex>
[cid:image010.png at 01CBB980.75038AF0]
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross
Sent: 21 January 2011 13:55
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
It's the $ in your example that seems to be causing the problems I think. This works without them in:
<tex src="\sqrt{2}">
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 21 January 2011 13:07
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
Cheers Julian
A.
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 21 January 2011 13:03
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
It's not my project. I did look at the raw xml, but it has a load of escaped characters in there which make it more difficult to copy / paste into a mail. I have sent your message to the owner of the project.
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 21 January 2011 12:16
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
No chance of seeing the text as it appears in that Xerte LO?!
That document doesn't really help at the moment as I can't replicate the examples in Xerte until im sure what to include and what not to!
For example, the document tells you to write:
\documentclass{article}
\begin{document}
The square root of two: $\sqrt{2}$. I can type math!
\end{document}
To output:
[cid:image011.png at 01CBB980.75038AF0]
But in Xerte
<tex src="\documentclass{article}
\begin{document}
The square root of two: $\sqrt{2}$. I can type math!
\end{document}
">
Renders:
[cid:image012.png at 01CBB980.75038AF0]
And
<tex src="The square root of two: $\sqrt{2}$. I can type math!"> renders:
[cid:image013.png at 01CBB980.75038AF0]
<tex src="$\sqrt{2}$"> just renders:
[cid:image014.png at 01CBB980.75038AF0]
Any ideas? I could probably work out what I'm missing from that example Nottingham LATEX LO!
---------------------------------------------------
Adam Read
eLearning Technologist
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 21 January 2011 11:55
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/
I don't think there is anything 'funny' about the latex service we use. It is a third party service though, but we are working to implementing it ourselves,
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 21 January 2011 11:45
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
Any chance of seeing the LATEX code to generate these equations:
http://www.nottingham.ac.uk/toolkits/play_595
My LO doesn't seem to want to do fancy graphic ones (e.g. special chars) - do you need to tell latex to load a set of chars? I can get it to render things like e=mc2 but not much else:
[cid:image015.png at 01CBB980.75038AF0]
Bl***y maths...
I've tried doing
<tex src="\usepackage{amsmath}"> to no avail.
---------------------------------------------------
Adam Read
eLearning Technologist
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 21 January 2011 11:00
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
Use latex in text fields
<tex src="e=mc^2">
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 21 January 2011 11:00
To: Xerte discussion list (xerte at lists.nottingham.ac.uk)
Subject: [Xerte] Math Symbols
Hi all
Is anyone using Math / Scientific symbols in Xerte? I've had a request for help from a Maths lecturer who needs to use symbols.
I've had a go using <sub> and <sup> which works in XOT with "allow subscripts" ticked, and also came across an earlier list post pointing out HTML chars which seem to work, but I also came across some reference to Latex.
Does latex work in XOT? Last I read it seemed some service you chaps used had crashed?
If there is an easier way than using HTML syntax then let me know. I guess another alternative would be to use some other software and save them as images.
Cheers, Adam
---------------------------------------------------
Adam Read
eLearning Technologist
University College Plymouth St Mark & St John, Derriford Road, Plymouth, PL6 8BH
Phone: 01752 636700 Web: www.ucpmarjon.ac.uk<http://www.ucpmarjon.ac.uk>
Principal: Professor Margaret Noble A Church of England College Founded in 1840
University College Plymouth St Mark & St John is a registered charity the trustee
of which is a company limited by guarantee registered in England No. 986239
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
University College Plymouth St Mark & St John, Derriford Road, Plymouth, PL6 8BH
Phone: 01752 636700 Web: www.ucpmarjon.ac.uk<http://www.ucpmarjon.ac.uk>
Principal: Professor Margaret Noble A Church of England College Founded in 1840
University College Plymouth St Mark & St John is a registered charity the trustee
of which is a company limited by guarantee registered in England No. 986239
University College Plymouth St Mark & St John, Derriford Road, Plymouth, PL6 8BH
Phone: 01752 636700 Web: www.ucpmarjon.ac.uk<http://www.ucpmarjon.ac.uk>
Principal: Professor Margaret Noble A Church of England College Founded in 1840
University College Plymouth St Mark & St John is a registered charity the trustee
of which is a company limited by guarantee registered in England No. 986239
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
University College Plymouth St Mark & St John, Derriford Road, Plymouth, PL6 8BH
Phone: 01752 636700 Web: www.ucpmarjon.ac.uk<http://www.ucpmarjon.ac.uk>
Principal: Professor Margaret Noble A Church of England College Founded in 1840
University College Plymouth St Mark & St John is a registered charity the trustee
of which is a company limited by guarantee registered in England No. 986239
University College Plymouth St Mark & St John, Derriford Road, Plymouth, PL6 8BH
Phone: 01752 636700 Web: www.ucpmarjon.ac.uk<http://www.ucpmarjon.ac.uk>
Principal: Professor Margaret Noble A Church of England College Founded in 1840
University College Plymouth St Mark & St John is a registered charity the trustee
of which is a company limited by guarantee registered in England No. 986239
University College Plymouth St Mark & St John, Derriford Road, Plymouth, PL6 8BH
Phone: 01752 636700 Web: www.ucpmarjon.ac.uk<http://www.ucpmarjon.ac.uk>
Principal: Professor Margaret Noble A Church of England College Founded in 1840
University College Plymouth St Mark & St John is a registered charity the trustee
of which is a company limited by guarantee registered in England No. 986239
University College Plymouth St Mark & St John, Derriford Road, Plymouth, PL6 8BH
Phone: 01752 636700 Web: www.ucpmarjon.ac.uk<http://www.ucpmarjon.ac.uk>
Principal: Professor Margaret Noble A Church of England College Founded in 1840
University College Plymouth St Mark & St John is a registered charity the trustee
of which is a company limited by guarantee registered in England No. 986239
University College Plymouth St Mark & St John, Derriford Road, Plymouth, PL6 8BH
Phone: 01752 636700 Web: www.ucpmarjon.ac.uk
Principal: Professor Margaret Noble A Church of England College Founded in 1840
University College Plymouth St Mark & St John is a registered charity the trustee
of which is a company limited by guarantee registered in England No. 986239
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/d8856b3d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 70918 bytes
Desc: image001.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/d8856b3d/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 8684 bytes
Desc: image002.jpg
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/d8856b3d/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 5862 bytes
Desc: image003.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/d8856b3d/attachment-0015.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 8841 bytes
Desc: image004.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/d8856b3d/attachment-0016.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 9924 bytes
Desc: image005.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/d8856b3d/attachment-0017.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 34135 bytes
Desc: image006.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/d8856b3d/attachment-0018.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 30565 bytes
Desc: image007.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/d8856b3d/attachment-0019.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 31466 bytes
Desc: image008.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/d8856b3d/attachment-0020.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.png
Type: image/png
Size: 30934 bytes
Desc: image009.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/d8856b3d/attachment-0021.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image010.png
Type: image/png
Size: 35514 bytes
Desc: image010.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/d8856b3d/attachment-0022.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image011.png
Type: image/png
Size: 3395 bytes
Desc: image011.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/d8856b3d/attachment-0023.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image012.png
Type: image/png
Size: 5232 bytes
Desc: image012.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/d8856b3d/attachment-0024.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image013.png
Type: image/png
Size: 4321 bytes
Desc: image013.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/d8856b3d/attachment-0025.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image014.png
Type: image/png
Size: 805 bytes
Desc: image014.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/d8856b3d/attachment-0026.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image015.png
Type: image/png
Size: 10859 bytes
Desc: image015.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/d8856b3d/attachment-0027.png>
More information about the Xerte
mailing list