Reputation: 11
I am just trying to find why the tranformation of the xml file into pdf (XSL:FO) always start a new < div > in an odd page. I read the documentation and the <force-page-count="no-force"> and <initial-page-number="auto"> in page-sequence.fo.xml should solve this, but dont. Any advice on what I should do? Thanks a lot.
<fo:page-sequence xmlns:fo="http://www.w3.org/1999/XSL/Format" master-reference="page-content" force-page-count="no-force" initial-page-number="auto">
<fo:static-content flow-name="head-left">
<fo:block margin-bottom="0.7mm" text-align-last="justify" font-size="10pt">
<fo:page-number/>
<fo:leader/>
<fo:retrieve-marker retrieve-class-name="heading"/>
</fo:block>
</fo:static-content>
<fo:static-content flow-name="head-right">
<fo:block margin-bottom="0.7mm" text-align-last="justify" font-size="10pt">
<fo:retrieve-marker retrieve-class-name="heading"/>
<fo:leader/>
<fo:page-number/>
</fo:block>
</fo:static-content>
<!--fo:static-content flow-name="xsl-footnote-separator">
<fo:block margin-top="4mm"/>
</fo:static-content-->
<fo:static-content flow-name="xsl-footnote-separator">
<fo:block text-align-last="justify" margin-top="4mm" space-after="2mm">
<fo:leader leader-length="40%" rule-thickness="2pt" leader-pattern="rule" color="black"/>
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body" hyphenate="true"/>
</fo:page-sequence>
``
Upvotes: 0
Views: 36