On Apr 27, 2009, at 13:37, Bob Stayton wrote:
That separation should not be happening. The attribute-set named
formal.object.properties in fo/param.xsl includes a keep-
together.within-column="always" attribute, which should keep them
together. It should bump the title to the next page if the image
does not fit.
Hmmm.
What XSL-FO processor and version are you using? Can you peek
inside the FO file and see if that property is present on the
fo:block containing the title and image reference?
This is via XEP 4.14 which calls saxon for fo generation. Here's the
fo portion of the output that deals with the sample markup I posted...
<fo:block space-before.minimum="0.5em" space-
before.optimum="1em"
space-before.maximum="2em" space-
after.minimum="0.5em" space-after.optimum="1em"
space-after.maximum="2em" keep-together.within-
column="always" id="d4e67">
<fo:block space-before.optimum="1em" space-
before.minimum="0.8em"
space-before.maximum="1.2em" font-
weight="bold" font-size="12pt"
hyphenate="false" space-after.minimum="0.4em"
space-after.optimum="0.6em"
space-after.maximum="0.8em" keep-with-
next.within-column="always"
>Figure 1.6. 2011 Quarterly Profit Loss</
fo:block>
<fo:block id="d4e69">
<fo:external-graphic
src="url(/Volumes/dnedrow/Grandview/
Business Plan/BookProject/./figures/TablePL2011.pdf)"
width="100%" height="100%" content-
width="scale-to-fit"
content-height="scale-to-fit"
content-type="content-type:application/
pdf" display-align="before"/>
</fo:block>
</fo:block>
-David
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]