Matthew L. Avizinis wrote:
  I have noticed that a <page-number-citation> which refers to a block id
that also has a break-before="page" attribute does not emit a page number if
it's the last block.
...
Is this a defect?

I think so.

You can try to use an empty block for forcing the
page break:
 <xsl:for-each select="module">
   <xsl:if test="title/@page-break">
      <fo:block break-before="page"/>
   </xsl:if>
   <fo:block id="module-ID">module content</fo:block>
 </xsl:for-each>

If you have a space-before to set, place them carefully.

J.Pietschmann





Reply via email to