From: <jimarin@bayesinf.com>
Subject: buffers and mathml
Date: Thu, 2 Jun 2005 14:02:20 +0200 [thread overview]
Message-ID: <HCEEJMJIEMMCDOCOJCGLCEILCDAA.jimarin@bayesinf.com> (raw)
Hi all,
I hope not to be posing a silly question.
I am trying something like:
usemodule[mathml]
\starttext
\def\open
{<}
\def\close
{>}
\startbuffer
\open math display="block"\close
\open apply\close \open sin/\close \open apply\close \open plus/\close
\open cn\close 2 \open /cn\close \open ci\close a \open /ci\close
\open /apply\close \open /apply\close
\open /math\close
\stopbuffer
\processXMLbuffer
\stoptext
But this does not pass to \processXMLbuffer the result of substituting
commands \open and \close...
how could this be achieved...?
I know that I could have used myself the < and >'s instead of the ugly open
and close but that is not my requirement.
I tried defining a command
\def\Wea
{
\open math display="block"\close
\open apply\close \open sin/\close \open apply\close \open plus/\close
\open cn\close 2 \open /cn\close \open ci\close a \open /ci\close
\open /apply\close \open /apply\close
\open /math\close
}
and then...
\startbuffer
\Wea
\stopbuffer
but that is plain wrong...
thanks
jima
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 2004/11/01
next reply other threads:[~2005-06-02 12:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-02 12:02 jimarin [this message]
2005-06-02 15:20 ` Taco Hoekwater
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=HCEEJMJIEMMCDOCOJCGLCEILCDAA.jimarin@bayesinf.com \
--to=jimarin@bayesinf.com \
--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).