emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug in odt export via mathml of equations containing '&'
@ 2011-11-04 23:19 Myles English
  2011-11-08 21:17 ` Jambunathan K
  2011-11-08 21:34 ` Jambunathan K
  0 siblings, 2 replies; 4+ messages in thread
From: Myles English @ 2011-11-04 23:19 UTC (permalink / raw)
  To: emacs-orgmode Mode


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-09  6:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-04 23:19 bug in odt export via mathml of equations containing '&' Myles English
2011-11-08 21:17 ` Jambunathan K
2011-11-09  6:01   ` Jambunathan K
2011-11-08 21:34 ` Jambunathan K

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).