However, if I use a break-after="page" in the previous block instead the
page-number-citation works fine and emits all page numbers as expected.

> -----Original Message-----
> From: Matthew L. Avizinis [mailto:[EMAIL PROTECTED]
> Sent: Saturday, April 13, 2002 1:09 PM
> To: [EMAIL PROTECTED]
> Subject: page-number-citation defect?
>
>
> Hello all,
>   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.
>
> <fo:page-number-citation ref-id="abc">
>
> and
>
> <fo:block break-before="page" id="abc">
>
> Is this a defect?
>
>
> I am basically doing this:
> <xsl:for-each select="module">
>   <xsl:choose>
>     <xsl:when test="title/@page-break"> <!-- needed for forced
> page-breaks -->
>         <fo:block id="module-ID" break-before="page">module
> content</fo:block>
>     </xsl:when>
>     <xsl:otherwise>
>         <fo:block id="module-ID">module content</fo:block>
>     </xsl:otherwise>
>   </xsl:choose>
> </xsl:for-each>
>
> thanks in advance for suggestions,
>    Matthew L. Avizinis <mailto:[EMAIL PROTECTED]>
> Gleim Publications, Inc.
>    4201 NW 95th Blvd.
>  Gainesville, FL 32606
> (352)-375-0772 ext. 101
>       www.gleim.com <http://www.gleim.com>

Reply via email to