From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: Re: XML question regarding special characters
Date: Fri, 7 Jan 2005 19:23:53 +0000 [thread overview]
Message-ID: <20050107192353.5796@news.comp.lancs.ac.uk> (raw)
In-Reply-To: <20050107183527.GA21057@fly.srk.fer.hr>
Zeljko Vrba said this at Fri, 7 Jan 2005 19:35:27 +0100:
>I'm trying to design a "universal" markup that will be easy to convert both
>to PDF and HTML.
Hi there. Sounds as if we're after similar things. I've been working on
similar stuff, expanding on the existing x-contml module with code in
this project:
<http://oo2contml.sourceforge.net/>
(The source code link may be instructive.)
><formula label="fm:whatever>
> x^{2} < y
></formula>
I use the following, as "heavily influenced" by Hans:
%D Recommended by Hans as a variant of \type{\XMLtex}:
\unprotected\def\XMLtexdata#1%
{\begingroup
\disableXML
\scantokens\@EA\@EA\@EA{\csname\@@XMLdata:#1\endcsname}%
\endgroup}
%D Display|| and in||line math using \TeX\ syntax:
\defineXMLenvironmentsave
[context:dispformula] [label=]
{}
{\startformula[\XMLop{label}]
\XMLtexdata{context:dispformula} \stopformula}
\defineXMLenvironmentsave
[context:formula] []
{}
{\mathematics{\XMLtexdata{context:formula}}}
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk
Lancaster University, InfoLab21 +44(0)1524/510.514
Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2005-01-07 19:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-07 18:35 Zeljko Vrba
2005-01-07 19:23 ` Adam Lindsay [this message]
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=20050107192353.5796@news.comp.lancs.ac.uk \
--to=atl@comp.lancs.ac.uk \
--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).