Hi ! I am using the fo:leader tag in a Table of Content (with fo:page-number-citation tags). I were working on my stylesheet and everything was working well. But, once I put a fo:block with the break-before="odd-page" to write my TOC on a new odd page, the leader was not properly aligned anymore ! (notice that it were properly aligned before I added the break-before attribute to the block !).
Maybe that's a FOP's bug (heard about some fix on fo:leader comin'), but I'm used to say : "the bug is often between the keyboard and the chair", so I send you the output and a part of my code, if someone have an idea : Here's the PDF output (look at the latest page) - warning : 574 ko http://www.tatouage.fr/temp/fop_user_example.pdf Lighter GIF version with the important part - 5ko http://www.tatouage.fr/temp/fop_user_example.gif And here's the part of code for the TOC : <fo:block font-size="20pt" font-family="Helvetica" font-style="normal" font-weight="normal" line-height="11pt" space-after.optimum="20pt" color="black" text-align="center" break-before="odd-page" white-space-collapse="false"> INDEX DES PROGRAMMES PAR THEME </fo:block> <fo:block font-size="10pt" font-family="Helvetica" font-style="normal" font-weight="normal" line-height="11pt" space-after.optimum="20pt" color="black" text-align="start" white-space-collapse="false"> <xsl:call-template name="sommaire" /> <xsl:for-each select="FICHE"> <xsl:if test="boolean(preceding-sibling::FICHE[1]) = FALSE or SOUSTHEME != preceding-sibling::FICHE[1]/SOUSTHEME"> <xsl:value-of select="SOUSTHEME"/> <fo:leader leader-pattern="dots" leader-length="12cm" /> <fo:page-number-citation> <xsl:attribute name="ref-id"><xsl:value-of select="SOUSTHEME" /></xsl:attribute> </fo:page-number-citation>  </xsl:if> </xsl:for-each> </fo:block> Thanks again guys, Cheers, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
