[xep-support] XEP bug concerning initial-page-number

Matthias Belz Matthias.Belz at springer.de
Mon Jun 17 05:53:24 PDT 2002


I think I may have found a bug in XEP. I want to create a document that 
has a cover page (without a page number), followed by numbered pages 
(starting with 1) for the main text. Therefore I use two page-sequences, 
the second one with initial-page-number="1". However this results in XEP 
creating an empty page between the cover and the main text. FOP doesn't
do this. Here's an example code:

<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <fo:simple-page-master master-name="main" page-height="29.7cm" 
      page-width="21cm" margin-top="2cm" margin-right="3cm" 
      margin-bottom="3cm" margin-left="3cm">
      <fo:region-body margin-top="1cm" margin-bottom="1.5cm"/>
      <fo:region-after extent="1cm"/>

  <fo:page-sequence master-reference="main">
    <fo:flow flow-name="xsl-region-body">

  <fo:page-sequence master-reference="main" initial-page-number="1">
    <fo:static-content flow-name="xsl-region-after">
      <fo:block text-align="center">
    <fo:flow flow-name="xsl-region-body">
      <fo:block>First page</fo:block>

The resulting PDF has two pages when using FOP, but three pages
when using XEP. Is this an error in XEP? If yes, will it be fixed?


By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

More information about the Xep-support mailing list