ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: Re: XML & <formula>s
Date: Fri, 10 Dec 2004 23:02:00 +0000	[thread overview]
Message-ID: <20041210230200.32288@news.comp.lancs.ac.uk> (raw)
In-Reply-To: <41BA1753.9080206@wxs.nl>

h h extern said this at Fri, 10 Dec 2004 22:38:27 +0100:

>\unprotected \def\XMLtex#1%
>   {\begingroup
>    \disableXML
>    \scantokens\@EA\@EA\@EA{\csname\@@XMLdata:#1\endcsname}%
>    \endgroup}

Okay. More strange and wondrous magic. Thanks!
I notice there's a \let\XMLtex already in xtag-ini...

>\defineXMLenvironmentsave
>   [formula]
>   {}
>   {\XMLtex{formula}}

Hmm. No math there on my machine.
So do you reckon that this is an acceptable elaboration?

\defineXMLenvironmentsave
   [formula] [label=]
   {}
   {\startformula[\XMLop{label}]
     \XMLtex{formula} \stopformula}

(it runs okay on limited variations here)

Is the existing [formula] definition in xtag-mml obsolete, then?

>> Also, what's the status of contml? I like the idea of it as a simple,
>> structural, basic markup that ConTeXt handles with zero effort, but is
>> anyone actually using it?
>
>we sometimes mix it into other xml docs; i have no problem with
extending it; 
>actualy, (see mag-0008.pdf), i want to map most context directly onto xml so 
>that we have a rather complete xml input syntax

Okay, cool. I may have found my general authoring tool once I get this
transform worted...
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  reply	other threads:[~2004-12-10 23:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-09 21:10 Adam Lindsay
2004-12-10 21:38 ` h h extern
2004-12-10 23:02   ` Adam Lindsay [this message]
2004-12-12 21:34     ` h h extern
2004-12-13 18:02   ` mag-0008 (was: XML & <formula>s) Adam Lindsay
2004-12-13 21:23     ` Bruce D'Arcus
2004-12-15 17:16       ` mag-0008 Hans Hagen
2004-12-15 17:53         ` mag-0008 Bruce D'Arcus
2004-12-15 17:14     ` mag-0008 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=20041210230200.32288@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).