chemical markup language support

31 views
Skip to first unread message

r

unread,
Oct 2, 2010, 4:34:57 AM10/2/10
to LaTeX Users Group
Does anyone know about the possibility to include CML within LaTeX?

Peter Flynn

unread,
Oct 2, 2010, 11:35:54 AM10/2/10
to latexus...@googlegroups.com
On Sat, Oct 2, 2010 at 9:34 AM, r <inp...@gmail.com> wrote:
Does anyone know about the possibility to include CML within LaTeX?

Do you mean in order to format it, or to include a fragment as an example?

You can't embed XML in LaTeX raw because LaTeX doesn't read XML by itself, so it will just treat the pointy brackets and ampersands as errors.  There is XMLTeX, which is an XML parser implemented in TeX, which may be useful.

If all you want is to show an example, use the listings package, or just put the fragment in a verbatim environment.

///Peter

Reply all
Reply to author
Forward
0 new messages