Many thanks for the suggestion. Your help is greatly appreciated again. Unfortunately the two leaders wind up on the same line, if blah is less than 50% long and the ref,ref text goes on the following line (see index.13.xsl).
I've tried to use keep-together with some success (see index.14.xsl) and this improves matters, but you can see that it appears to be ignored on the 4th page of the output, when the refs are too long, and the leader is separated from the refs. Is this a Fop issue or am I expecting to achieve something from FO which is beyond its design? Links: http://coolbox.seseit.com/~rob/fo.index.13.html http://coolbox.seseit.com/~rob/fo.index.14.html -----Original Message----- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: 12 March 2003 20:38 To: [EMAIL PROTECTED] Subject: Re: Line-wrap in fo:leader Rob Staveley (Tom) wrote: > blah, blah, blah, blah, blah,....... > ref,ref,ref Add text-align="justify". > I'd like to get: > > blah........................................ref,ref > blah................................ref,ref,ref > blah, blah, blah, blah, blah,....... > .........................................ref,ref,ref Getting a second leader on the second line is definitely tricky. You could try to add a second leader: <fo:block>blah, blah, blah, blah, blah,<fo:leader leader-pattern="dots"/><fo:leader leader-pattern="dots" leader-length.optimum="50%" leader-length.minimum="0"/>ref,ref,ref</fo:block> This will (hopefully) break if the line is half full with blah text. J.Pietschmann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
