Hi! I'm using docbook and FOP to produce pdf documents.
For some reason I cannot get section titles and the following paragraph on the same page. The problem occurs only when the title fits to the bottom of the page and the paragraph goes to the next page. I'm using Saxon for the stylesheet processing and I use docbook-xsl-1.60.1. I am using a customization layer which defines the properties. The layer is included as an attachment. Is the problem with the FOP or with the docbook-xsl or my parameters? Any help is appreciated. -Niklas -- Niklas Koponen | Hietapellontie 3 B 7 | [EMAIL PROTECTED] +358 40 757 1459 | 02400 KIRKKONUMMI | http://www.iki.fi/niklas.koponen
<?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> <xsl:import href="/opt/xml/docbook-xsl-1.60.1/fo/docbook.xsl"/> <xsl:param name="paper.type" select="'A4'"/> <xsl:param name="ulink.show" select="'0'"/> <xsl:param name="ulink.footnotes" select="1"/> <xsl:param name="hyphenate" select="'0'"/> <xsl:param name="section.autolabel" select="'1'"/> <xsl:param name="body.font.master" select="12"/> <xsl:attribute-set name="section.title.properties"> <xsl:attribute name="text-align">left</xsl:attribute> <xsl:attribute name="keep-with-next.within-line">always</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="component.title.properties"> <xsl:attribute name="text-align">left</xsl:attribute> <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> </xsl:attribute-set> <!-- <xsl:param name="title.margin.left" select="'-2.3cm'"/> <xsl:param name="header.rule" select="1"/> <xsl:param name="double.sided" select="'0'"/> <xsl:param name="page.margin.inner" select="'4.6cm'"/> --> </xsl:stylesheet>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]