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] Adding a floating image

[moving this over to the docbook-apps mailing list, where stylesheet issues 
are discussed]

Side floats in DocBook XSL are documented here:


You may need to adjust some of the properties in the attribute-sets 
described there, because different FO processors seem to handle floats 

I'm assuming you have set the stylesheet parameter 'body.start.indent' to 
0pt.  If not, then your float will appear in the empty area next to the body 

When you put your example in a document, what happens?  It should display on 
the left and any following paragraphs should wrap around it on the right.

I'd suggest using a unit other than pixels, since the actual rendered size 
of a pixel depends on the XSL-FO processor.

Bob Stayton
Sagehill Enterprises

----- Original Message ----- 
From: "ashelton3" <ashelton3@gmail.com>
To: <docbook@lists.oasis-open.org>
Sent: Tuesday, June 30, 2009 6:28 PM
Subject: [docbook] Adding a floating image

> Hi,
> I am unable to place an image in my paragraph so that the paragraph text
> flows around it. I am using saxon and the XEP processor. Where are the
> values of the dbfo documented?
> Here's my code:
> <sidebar>
> <?dbfo sidebar-width="335px"?>
> <?dbfo float-type="left"?>
> <para>
> <imagedata fileref="img/david-bowie-001.jpg" scale="100" scalefit="1"
>  width="315px" depth="445px" contentwidth="315px" contentdepth="445px"/>
> </para>
> </sidebar>
> -- 
> View this message in context: 
> http://www.nabble.com/Adding-a-floating-image-tp24282778p24282778.html
> Sent from the docbook General mailing list archive at Nabble.com.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-help@lists.oasis-open.org

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