From: Zeljko Vrba <mordor@fly.srk.fer.hr>
Subject: XML question regarding special characters
Date: Fri, 7 Jan 2005 19:35:27 +0100 [thread overview]
Message-ID: <20050107183527.GA21057@fly.srk.fer.hr> (raw)
Hi!
I'm trying to design a "universal" markup that will be easy to convert both
to PDF and HTML. I've come to code and equations. I don't want to use
MathML and I want to output (and use in my documents!) verbatim TeX code of
equations to HTML. What worries me is the following:
I want to be able to write and run through Context XML processing:
<formula label="fm:whatever>
x^{2} < y
</formula>
or, for typesetting computer programs:
<code>
if((x&y) >= 3) {
do_something();
}
</code>
(this would translate to \starttyping\stoptyping)
How do I define XML environments that can handle XML special characters
(<>&, etc., I don't know all of them..) gracefully? (i.e. so that I don't
have to type <code> if((x&y) >= 3) </code> and similar for formulas)
Thanks!
next reply other threads:[~2005-01-07 18:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-07 18:35 Zeljko Vrba [this message]
2005-01-07 19:23 ` Adam Lindsay
2005-01-09 14:06 ` m-letter.tex -- backslash interpretation error Rob Ermers
2005-01-09 20:04 ` h h extern
2005-01-10 17:10 ` Rob Ermers
2005-01-10 18:08 ` Hans Hagen
2005-01-10 19:34 ` Rob Ermers
2005-01-11 10:15 ` Hans Hagen
2005-01-11 7:48 ` Christopher Creutzig
2005-01-11 9:52 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050107183527.GA21057@fly.srk.fer.hr \
--to=mordor@fly.srk.fer.hr \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).