forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Schaub" <ssch...@bju.edu>
Subject Page breaks in aggregate PDF's
Date Tue, 14 Sep 2004 16:15:06 GMT
The howto

http://forrest.apache.org/howto/howto-pdf-tab.html

gives instructions on generate PDF's from a selected set of documents. I
would like a page break in between each document. After reviewing the
stylesheets, I found the following in document2fo.xsl:

 <xsl:if test="@class='page' and $page-break-top-sections and
not(following-sibling::node())">
        <fo:block break-after="page"/>
    </xsl:if>

Obviously the intent is to allow for the sort of page breaks I described
above. I adjusted the test to the following:

 <xsl:if test="@class='page' and $page-break-top-sections">

and got my page breaks. I'm not an XML guru, so I'm not sure what the intent
of that final condition was, but it needs to be changed or removed.

Stephen Schaub


Mime
View raw message