xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mhoenicka <markus.hoeni...@mhoenicka.de>
Subject TOC with leaders - alignment problems
Date Sat, 30 Jul 2011 16:39:04 GMT


I'm using DocBook V5.0 and the Docbook XSL stylesheets to transform a
document to fo. The stylesheets generate a table of contents with entries
like this:

<fo:block text-align-last="justify" text-align="start" end-indent="24pt"
<fo:inline keep-with-next.within-line="always">
<fo:basic-link internal-destination="id286798007">1. Short chapter
<fo:inline keep-together.within-line="always"> <fo:leader
leader-pattern="dots" leader-pattern-width="3pt"
leader-alignment="reference-area" keep-with-next.within-line="always"/>
<fo:basic-link internal-destination="id286798007">
<fo:page-number-citation ref-id="id286798007"/>

When processing these fo with fop nightly builds (first tested: March 04
2011, last tested: July 27 2011), the chapter titles are correctly aligned
on the left side. However, the page numbers do not align on the right side,
resulting in a ragged edge. The longer the chapter title, the further the
page number moves to the left. Here's a screenshot of the pdf output:


Is there a workaround or a fix for this problem?


View this message in context: http://old.nabble.com/TOC-with-leaders---alignment-problems-tp32162950p32162950.html
Sent from the FOP - Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message