OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: Markup for simple mathematical expressions


On Wed, Feb 19, 2003 at 03:05:42PM +0100, Joachim Ziegler wrote:
> How do I correctly markup the expression '(n,k)' in the following phrase:
> 
> "The binomial coefficient (n,k) is equal to the number of subsets of 
> size k of a set of size n"
> 
> Later I want to markup the relationship
> 
> (n,k) = (n-1,k-) + (n-1,k)
> 
> as being a mahtematical expression/equation.
> 
> I've read through the documentation of InlineEquation, but I think 
> that's not what I need here. I do not need a nice-looking TeX-picture in 
> an InlineMediaObject, I only want to markup some characters as belonging 
> to a mathematical expression.
> 
> How do I do that?

I suppose the official way would be:

<inlineequation>
  <inlinemediaobject>
    <textobject>
      <phrase>(n,k)</phrase>
    </textobject>
  <inlinemediaobject>
<inlineequation>

But that seems like overkill.
How about just <phrase role="math">(n,k)</phrase> in
your paragraph?
-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC