Re: [xsl] keep-together property

Subject: Re: [xsl] keep-together property
From: "Mandar Jagtap" <mandar.jagtap@xxxxxxxxx>
Date: Thu, 21 Aug 2008 13:24:06 +0530
I would have done it as below:

<fo:block keep-together="always">
  <fo:block> Figure Title....</fo:block>
  <fo:external-graphics/>
</fo:block>

Hope this helps...

Mandar

On 8/20/08, G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote:
> At 2008-08-20 09:01 -0700, Sarkup Sarkup wrote:
> > I am struggling to keep the graphic and the title together on one page. I
> have set the keep-with-previous.within-page="always" on the
> <fo:block> for the graphic title, but the title always goes to the next
> page. Can anybody please help me here?
> >
>
> Sounds like it should work ... which tool are you using?  If the tool is
> deficient in implementing "-previous", perhaps try using "-next" on the
> block with the graphic instead.
>
> There has to be room for both the graphic and the title, so make sure you
> have enough room.
>
> Unfortunately there isn't a lot to work with using your brief description.
>
> But I hope this helps nonetheless.
>
> . . . . . . . . . . Ken
>
>
> --
> Upcoming XSLT/XSL-FO hands-on courses:      Wellington, NZ 2009-01
> Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
> G. Ken Holman
> mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
> Crane Softwrights Ltd.
> http://www.CraneSoftwrights.com/s/
> Male Cancer Awareness Nov'07
> http://www.CraneSoftwrights.com/s/bc
> Legal business disclaimers:
> http://www.CraneSoftwrights.com/legal
>
>


-- 
Thanks & Regards,
Mandar

Current Thread