Re: [docbook] HOW TO: format formula in docbook 5

From
Bob Stayton <>
Date
2010-06-07T15:44:47+00:00
ID
005e01cb0658$5624eba0$6600a8c0@pazu
Thread
Re: [docbook] HOW TO: format formula in docbook 5
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



----- Original Message ----- 
From: David Gao
To: 
Cc: Richard Quadling ; 
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 <>
To: David Gao <>
Date: 2010-6-7 20:38

On 7 June 2010 12:16, David Gao <> 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 ()

---------------------------------------------------------------------
To unsubscribe, e-mail: 
For additional commands, e-mail: 


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:  For additional commands, e-mail: