* MathML: <apply>
@ 2001-12-07 15:49 Christopher Creutzig
0 siblings, 0 replies; 2+ messages in thread
From: Christopher Creutzig @ 2001-12-07 15:49 UTC (permalink / raw)
Dear Hans, dear list,
I started playing around with ConTeXt support for MathML. However,
it seems that <apply> works different from what I expected. The
following code snippet is from the MathML documentation, where it is
explained to be the function F+G applied to x, rendered as (F+G)(x).
ConTeXt 2001.11.13 renders it as (F+G)x, omitting the parentheses
around x. How do I write f(x)?
\usemodule[mathml]
\starttext
\startXMLdata
<math>
<apply>
<apply>
<plus/>
<ci> F </ci>
<ci> G </ci>
</apply>
<ci> x </ci>
</apply>
</math>
\stopXMLdata
\stoptext
--
+--+
+--+|
|+-|+ Christopher Creutzig (ccr@mupad.de)
+--+ Tel.: 05251-60-5525
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: MathML: <apply>
[not found] <Christopher-Creutzig-wqs1yi7m3nh.fsf@bursar.uni-paderborn. de>
@ 2001-12-10 9:55 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2001-12-10 9:55 UTC (permalink / raw)
Cc: ntg-context
At 04:49 PM 12/7/2001 +0100, Christopher Creutzig wrote:
>Dear Hans, dear list,
>
> I started playing around with ConTeXt support for MathML. However,
>it seems that <apply> works different from what I expected. The
>following code snippet is from the MathML documentation, where it is
>explained to be the function F+G applied to x, rendered as (F+G)(x).
>ConTeXt 2001.11.13 renders it as (F+G)x, omitting the parentheses
>around x. How do I write f(x)?
>
>\usemodule[mathml]
>
>\starttext
>
>\startXMLdata
><math>
><apply>
> <apply>
> <plus/>
> <ci> F </ci>
> <ci> G </ci>
> </apply>
> <ci> x </ci>
></apply>
></math>
>\stopXMLdata
<apply> <fn> <ci> f </ci> </fn>
<ci> x </ci>
</apply>
concerning the mathml docu: there are some inconsistencies in there -)
hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-10 9:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-07 15:49 MathML: <apply> Christopher Creutzig
[not found] <Christopher-Creutzig-wqs1yi7m3nh.fsf@bursar.uni-paderborn. de>
2001-12-10 9:55 ` Hans Hagen
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).