Hi,
When I set initial-page-number="1" or say "21", I get an an extra blank page
when the last page is odd. See processing output below.
Any way remove this?
The template page-sequence SectionTC, has the initial-page-number="1"
norm: ./sprtPDF.sh -EN -RSINV ZHken2
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[INFO] [1]
[INFO] [2]
[INFO] [3]
[INFO] [4]
[INFO] [5]
[INFO] [6] (blank)
[INFO] [1]
[INFO] Parsing of document complete, stopping renderer
norm: ./sprtPDF.sh -EN -RSINV ZHken2
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[INFO] [1]
[INFO] [2]
[INFO] [3]
[INFO] [4]
[INFO] [5]
[INFO] [20]
[INFO] Parsing of document complete, stopping renderer
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="Section-first"
page-width="8.25in"
page-height="11.69in"
margin-top="0.125in"
margin-bottom="0.0in"
margin-left="0.20in"
margin-right="0.20in" >
<fo:region-before extent="0.80in" region-name="fh"/>
<fo:region-after extent="0.25in" region-name="ff"/>
<fo:region-body margin-top="0.80in"
margin-bottom="0.25in"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="Section-rest"
page-width="8.25in"
page-height="11.69in"
margin-top="0.125in"
margin-bottom="0.0in"
margin-left="0.20in"
margin-right="0.20in" >
<fo:region-before extent="0.85in" region-name="rh"/>
<fo:region-after extent="0.25in" region-name="rf"/>
<fo:region-body margin-top="0.80in"
margin-bottom="0.25in"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="SectionTC-sp"
page-width="8.25in"
page-height="11.69in"
margin-top="0.0in"
margin-bottom="0.0in"
margin-left="0.10in"
margin-right="0.10in" >
<fo:region-before extent="0.125in" region-name="TCHeader"/>
<fo:region-after extent="0.25in" region-name="TCFooter"/>
<fo:region-body margin-top="0.125in"
margin-bottom="0.125in"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="SectionTC">
<fo:repeatable-page-master-reference
master-reference="SectionTC-sp"/>
</fo:page-sequence-master>
<fo:page-sequence-master master-name="Section">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference
master-reference="Section-first"
page-position="first"/>
<fo:conditional-page-master-reference
master-reference="Section-rest"
page-position="rest"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="Section">
<fo:static-content flow-name="ff">
<xsl:apply-templates
select="document('ENrsInv.xml')/document/[EMAIL PROTECTED]'ff']"/>
</fo:static-content>
<fo:static-content flow-name="rf">
<xsl:apply-templates
select="document('ENrsInv.xml')/document/[EMAIL PROTECTED]'rf']"/>
</fo:static-content>
<fo:static-content flow-name="rh">
<xsl:apply-templates
select="document('ENrsInv.xml')/document/[EMAIL PROTECTED]'rh']"/>
</fo:static-content>
<fo:static-content flow-name="fh">
<xsl:apply-templates
select="document('ENrsInv.xml')/document/[EMAIL PROTECTED]'fh']"/>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<xsl:apply-templates
select="document('ENrsInv.xml')/document/[EMAIL PROTECTED]'1234']"/>
</fo:flow>
</fo:page-sequence>
<fo:page-sequence master-reference="SectionTC"
initial-page-number="1">
<fo:flow flow-name="xsl-region-body">
<xsl:apply-templates
select="document('ENrsInv.xml')/document/sectionTC"/>
</fo:flow>
</fo:page-sequence>
</fo:root>
</xsl:template>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]