From: Wolfgang Zillig <wolfgang.zillig@student.kuleuven.be>
Subject: Math and MATHML problem
Date: Wed, 01 Jun 2005 11:10:57 +0200 [thread overview]
Message-ID: <429D7BA1.2060709@student.kuleuven.be> (raw)
Hello,
I'm trying to typset some math.
when I use \startbuffer ...here mathml ...\stopbuffer and a following
\processXMLbuffer I get a nice centered formula. When I save that code
to a file myeq1.xml and try to include it with
\processXMLfile{myeq1.xml}I compillation stops at that point.
\processXMLfilegrouped{myeq1.xml} produces a formula again but 2
additional symbold appear at the beginning of the formula.
Questions:
- What is my fault?
- Whow can I set the alignment of formulas (ie leftaligned)?
Thanks for any help
\usemodule[mathml]
\defineXMLentity [PartialD] {\getXMLentity{differentiald}}
\starttext
\startbuffer
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow>
<mi>q</mi>
<mo>=</mo>
<mfrac>
<mrow>
<mo>∂</mo>
<mi>p</mi>
</mrow>
<mrow>
<mo>∂</mo>
<mi>x</mi>
</mrow>
</mfrac>
<mo>=</mo>
<mo>∂</mo>
<mfenced>
<mrow>
<mi>φ</mi>
</mrow>
</mfenced>
<msub>
<mi>p</mi>
<mrow>
<mi>v</mi>
<mi>s</mi>
<mi>a</mi>
<mi>t</mi>
</mrow>
</msub>
<mfenced>
<mrow>
<mi>θ</mi>
</mrow>
</mfenced>
<mfrac>
<mrow>
<mo>∂</mo>
<mi>φ</mi>
</mrow>
<mrow>
<mo>∂</mo>
<mi>x</mi>
</mrow>
</mfrac>
</mrow>
</math>
\stopbuffer
\processXMLbuffer
\stoptext
reply other threads:[~2005-06-01 9:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=429D7BA1.2060709@student.kuleuven.be \
--to=wolfgang.zillig@student.kuleuven.be \
--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).