This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Markup for simple mathematical expressions
- From: Bob Stayton <bobs at caldera dot com>
- To: Joachim Ziegler <ziegler at mpi-sb dot mpg dot de>
- Cc: "docbook at lists dot oasis-open dot org" <docbook at lists dot oasis-open dot org>
- Date: Thu, 20 Feb 2003 09:45:26 -0800
- Subject: Re: DOCBOOK: Markup for simple mathematical expressions
- References: <3E538F36.6000409@mpi-sb.mpg.de>
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 at sco dot com