This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
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
>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]