[publican-list] [Bug 492984] procedure steps are pulled onto next page and leave white space
bugzilla at redhat.com
bugzilla at redhat.com
Thu Oct 1 00:10:48 UTC 2009
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=492984
Jeff Fearn <jfearn at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jfearn at redhat.com
--- Comment #3 from Jeff Fearn <jfearn at redhat.com> 2009-09-30 20:10:47 EDT ---
Maybe a better approach would be to override the para template and check for
the existence of a figure, and if detected set keep-together for that para.
e.g.
<xsl:template match="para">
<fo:block xsl:use-attribute-sets="normal.para.spacing">
<xsl:if test="descendant::figure">
<xsl:attribute name="keep-together.within-column">
<xsl:text>always</xsl:text>
</xsl:attribute>
</xsl:if>
<xsl:call-template name="anchor"/>
<xsl:apply-templates/>
</fo:block>
</xsl:template>
Untested of course :)
This would mean any para with a figure inside it shouldn't be longer than a
page as opposed to any step shouldn't be longer than a page. It would also
apply outside of steps.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the publican-list
mailing list