[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] bug in odt export via mathml of equations containing '&'
From: |
Myles English |
Subject: |
[O] bug in odt export via mathml of equations containing '&' |
Date: |
Fri, 04 Nov 2011 23:19:33 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
If an org file contains a latex equation with a '&' in it then when it is
exported to odt it makes dodgy xml. Unzipping the odt, opening the
content.xml and doing M-x rng-first-error gives the message:
`&' that is not markup must be entered as `&'
To reproduce, insert this:
\begin{equation}
\delta_{mn} =
\begin{cases}
1& \text{if $n=m$}\\
0& \text{if $n\nem$}
\end{cases}
\end{equation}
(which I got from here
http://www.mathtoweb.com/cgi-bin/mathtoweb_users_guide.pl , search for
'cases')
into the file math-to-web-with-plastex.org in this post:
http://permalink.gmane.org/gmane.emacs.orgmode/48815 and export as per
instructions.
There may be a similar error with equations containing '<', '>'.
Myles
- [O] bug in odt export via mathml of equations containing '&',
Myles English <=