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] | [Elist Home]

Subject: Re: DOCBOOK-APPS: docbook xsl: inlineequation

On Wed, Feb 06, 2002 at 08:49:12PM -0500, Allin Cottrell wrote:
> I'm not sure if this would be admitted as an anomaly or not, but...
> When I set up an <inlineequation> including a <graphic> for use with
> html and htmlhelp, the <graphic> gets processed as
> <p><img src=... ></p>
> That is, it does _not_ appear inline, it gets a paragraph to itself.
> The docbook sgml stylesheets do not do this; they set the graphic
> element in a inlineequation without <p></p>, as desired.
> One might say that <graphic> ought to be replaced with <inlinegraphic>
> or a slew of <mediaobject> lines; I would hope, however, that the
> author's intention was clear enough from the embedding inlineequation
> tag.

Indeed, <graphic> is the culprit in the XSL stylesheets.
It outputs <p> regardless of its parent.

Oddly enough, inlinegraphic is not even a valid choice
according to the 4.1.2 DTD.  The inlineequation
content model is:

(alt?, (graphic+|inlinemediaobject+))

So either the stylesheet should check its parent, or the
DTD should permit inlinegraphic.  It appears your
only choice for correct output right now is inlinemediaobject.


Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com

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

Powered by eList eXpress LLC