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:37:35 GMT

Hi,

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"
last-line-end-indent="-24pt">
<fo:inline keep-with-next.within-line="always">
<fo:basic-link internal-destination="id286798007">1. Short chapter
title</fo:basic-link>
</fo:inline>
<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"/>
</fo:basic-link>
</fo:inline>
</fo:block>

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:

http://www.abload.de/img/docbook-fop-ragged-ind4un1.png

Is there a workaround or a fix for this problem?

regards,
Markus

-- 
View this message in context: http://old.nabble.com/TOC-with-leaders---alignment-problems-tp32162949p32162949.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


Mime
View raw message