Re: [xsl] Setting graphic alignments in two column page layout xsl fo

Subject: Re: [xsl] Setting graphic alignments in two column page layout xsl fo
From: Claudia Smith <smithclaudia88@xxxxxxxxxxxxxx>
Date: Mon, 30 May 2011 21:22:30 +0200
Hello Tony,

Thanks for the suggestion.  I have tried this option, but it makes my
graphic float in the right of the column where the graphic exists.
My layout is always two column and whenever the graphic occurs, it
should go on the right column and the text below should go on the left
side column if there is space on the left column.

Could you please suggest some other trick I can use.


On Mon, May 30, 2011 at 10:18 AM, Tony Graham <tgraham@xxxxxxxxxx> wrote:
> On Sat, May 28, 2011 10:05 pm, Claudia Smith wrote:
>> I have a two column layout and I want to set my (small) graphics in a
>> way so that whenever my page includes a graphic, the text flows on the
>> left column and the graphic always go on right column.
> It's not clear whether you always have two columns of text except when
> there's a small graphic or whether there's one column of text and the
> small graphics are in the margin.
> Try <fo:float float="right"> [1][2] to put the graphic in the margin.
>> For my larger graphics, I have to span both the columns but always set
>> it to the bottom of the page.
> As defined, fo:float only floats to the top ("before") or to the side.
> It is a requirement for XSL FO 2.0 to be able to float to the top or
> bottom [3], but that's not going to help you this week, I know.
> If you aren't already also producing footnotes, you may be able to fake
> the appearance of a bottom float using an fo:footnote with an empty
> fo:inline for its footnote marker.
> Regards
> Tony Graham                                   tgraham@xxxxxxxxxx
> Consultant                       
> Mentea       13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
>  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
>    XML, XSL FO and XSLT consulting, training and programming
> [1]
> [2]
> [3]
> [4]

Current Thread