* "&" not converted to & when in equation enviroments
@ 2012-02-03 12:13 Lianheng Tong
0 siblings, 0 replies; only message in thread
From: Lianheng Tong @ 2012-02-03 12:13 UTC (permalink / raw)
I am using org-mode version 7.7, and tried to export my org documents into html using org-export-html functions. I found that in normal texts and inline maths, the characters "&", "<" and ">" are converted correctly to "&" "<" and ">" according to the definitions made by org-export-html-protect-char-alist.
However, the "&" and "<", ">" signs used in equations are NOT converted. For example, if one has some thing like:
First, type & < >
This is an inline math $1 < y > 8$.
x & = a + b \\
y & < c - d
Will give the following segment in the exported html file:
First, type & < >.
This is an inline math \(1 < y > 8\).
x & = a + b \\
y & < c + d
This produces an error when I tried to validate against the XHTML standard (as one would expect).
Is this an intended feature, and is there a switch/flag I can use to change this behaviour or is it a bug, and is there an easy fix? Thank you very much for your help in advance.
Lianheng Tong Tel: +44 20 7679 3302
London Centre For Nanotechnology Fax: +44 20 7679 0595
University College London firstname.lastname@example.org
17–19 Gordon Street, London WC1H 0AH, U.K.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-02-03 12:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-03 12:13 "&" not converted to & when in equation enviroments Lianheng Tong
Code repositories for project(s) associated with this inbox:
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).