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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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

Subject: Re: [docbook-apps] Multiline equations with DocBook 5.0 (and more)

I don't have a solution for you, but I'm not quite understanding your solution in 
DocBook 4.5.  As I read the DTD, only one informalequation is permitted inside 

<!ELEMENT equation %ho; (blockinfo?, (%formalobject.title.content;)?,
                         (informalequation | %equation.content;))>

How did you get multiple informalequation elements without customizing the DTD?

Bob Stayton
Sagehill Enterprises

----- Original Message ----- 
From: "lasdka 88" <lasdka88@googlemail.com>
To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
Sent: Friday, May 27, 2011 5:31 PM
Subject: [docbook-apps] Multiline equations with DocBook 5.0 (and more)

> Hi there.
> I have almost completed converting a document to DocBook 5.0 from
> DocBook 4.5, but I have stumbled across a couple of problems with
> equations. My equations are written using MathML (actually LaTeX which
> is converted by a script to MathML) within equation and inlineequation
> blocks. Here are the issues:
> 1. I have some large equations which must be split across multiple
> lines, but for which I would like one equation number. With DocBook
> 4.5 I achieved this by using one informalequation block per line
> within the equation block. (I was also able to use an attribute on the
> informalequation blocks to control the alignment of each line of the
> equation.) However, with DocBook 5.0 informalequation is no longer
> allowed as a child element of equation. (I don't know why.) Is there
> another way to achieve multiline equations with DocBook 5.0?
> 2. With DocBook 4.5 I included punctuation (typically a comma or full
> stop after an equation) after the MathML definition of the equation,
> but within the equation block (to prevent the punctuation falling onto
> the line below.) My validator for DocBook 5.0 tells me that the comma
> is not allowed to go there (complains about CDATA or invalid
> character) - but it's not really part of the equation defined by the
> MathML either - so what is the correct way to include this?
> Final question: Does anyone know where I can get an up to date Windows
> binary of xmllint. The one available here
> [http://www.zlatkovic.com/libxml.en.html] will not correctly validate
> my RelaxNG schema - but it is not the latest version and so I am
> hoping a more recent one might fix that problem.
> Thank you.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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