Hi,

However, I was told that the formula can be expressed with docbook xml elements without using any MathML tags

That statement is not correct. DocBook has only an element named <mathphrase> which can contain any mix of:

#PCDATA|inlinemediaobject|remark|superscript|subscript|xref|link|olink|anchor|biblioref|alt|
annotation|indexterm|phrase|replaceable|emphasis

So you could use it for very simple math text such as:

  E = mc<superscript>2</superscript>

While DocBook does not have any means of expressing more complex mathematics, it can work with MathML.

Bob Stayton
Sagehill Enterprises
[email protected]


----- Original Message ----- From: David Gao
To: [email protected]
Cc: Richard Quadling ; [email protected]
Sent: Monday, June 07, 2010 6:25 AM
Subject: Re: [docbook] HOW TO: format formula in docbook 5


Hi Richard,

Thank you very much for the information.

However, I was told that the formula can be expressed with docbook xml elements without using any MathML tags. I've tried all ways I can think of, but no good. Could you help me with this?





Best Regards!

David Gao
=================================




-------- Original Message  --------
Subject: Re: [docbook] HOW TO: format formula in docbook 5
From: Richard Quadling <[email protected]>
To: David Gao <[email protected]>
Date: 2010-6-7 20:38

On 7 June 2010 12:16, David Gao <[email protected]> wrote:

Hi,

I'm a beginner of docbook 5. I have difficulty when formatting a math
equation with docbook xml. The equation is a mathematical fraction as
included in the attachment.

Could anyone be kind enough to tell me how to express that equation in
docbook xml?


Many thanks!


--
Best Regards

David Gao ([email protected])

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


I would suggest using MathML.

The references I could find ...

http://www.mail-archive.com/[email protected]/msg04388.html
(with subsequent threads)

http://www.w3.org/TR/MathML2/chapter2.html#fund.examples

http://www.sagehill.net/docbookxsl/MathML.html




--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to