xsl-list
[Top] [All Lists]

Re: [xsl] keep-together property

2008-08-21 00:54:30
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(_at_)cranesoftwrights(_dot_)com> 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(_at_)CraneSoftwrights(_dot_)com
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



--~------------------------------------------------------------------
XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




-- 
Thanks & Regards,
Mandar

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>