This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Alignment of images in examples
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: <docbook-apps at lists dot oasis-open dot org>, Steffen Glückselig <glueckselig at gungfu dot de>
- Date: Tue, 11 Jan 2005 09:38:35 -0800
- Subject: Re: [docbook-apps] Alignment of images in examples
- References: <opskf6x0wnx13dgy@localhost>
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
bobs@sagehill.net
----- 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
>
>