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] Alignment of images in examples

This is a "feature", which will unfortunately require replacing the template
with match="example" from fo/formal.xsl with a new one in your customization
layer.  In that template, you will see that it peeks into the mediaobject to
get the align value, then applies that to the whole block.  You can turn it
off for the outer block, and the mediaobject will align just itself.

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Steffen Glückselig" <glueckselig@gungfu.de>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, January 11, 2005 9:02 AM
Subject: [docbook-apps] Alignment of images in examples

> Hello,
> I have the following structure in my document:
> <example>
>          <title>some title</title>
>          <para>some para</para>
>          <mediaobject>
>            <imageobject>
>              <imagedata align="right" fileref="image.jpg"
>                         width="426px" />
>            </imageobject>
>          </mediaobject>
> </example>
> The alignment of the image influences the alignment of the para, though.
> What might cause this behavior? How can I get rid of it, i.e. I would like
> standard alignment for the para.
> thanks
> Steffen Glückselig

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