xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bonekrusher <djs...@yahoo.com>
Subject fo:list-item - Keep together
Date Thu, 03 Jul 2008 18:58:08 GMT

Hi,

How do I keep a list-item's contents from splitting on a page break? I've
tried using keep-together="always", but it still splits the contents.

	<xsl:template match="NOTE">
		<fo:list-block provisional-distance-between-starts="7mm"
provisional-label-separation="5mm" start-indent="2mm"
space-before.optimum="4pt" space-after.optimum="4pt">
			<xsl:for-each select="PARA">
				<fo:list-item keep-together="always">
					<fo:list-item-label end-indent="label-end()">
						<fo:block>NOTE:</fo:block>
					</fo:list-item-label>
					<fo:list-item-body start-indent="15mm" keep-together="always">
						<fo:block>
							<xsl:apply-templates select="."/>
						</fo:block>
					</fo:list-item-body>
				</fo:list-item>
			</xsl:for-each>
		</fo:list-block>
	</xsl:template>
-- 
View this message in context: http://www.nabble.com/fo%3Alist-item---Keep-together-tp18266211p18266211.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message