...however, it cannot cope with variable lengths on the right hand side,
unless I'm being fooled by a bug in Fop.
I can see how to use <fo:leader> to get dots to go from the and of a block
to a fixed location, but how to you vary the location according to the
length of the information on the right hand side of the index?
i.e. how would you create the following tidily?
left left left .....................................right right
right
left........................................................right
right right
left left left
......................................................... right
-----Original Message-----
From: www-xsl-fo-request@xxxxxx [mailto:www-xsl-fo-request@xxxxxx] On Behalf
Of Rob Staveley (Tom)
Sent: 06 March 2003 09:45
To: 'Oleg Tkachenko'
Cc: www-xsl-fo@xxxxxx
Subject: RE: Filling space with a character
That's an excellent reference. Many thanks Oleg :-)
-----Original Message-----
From: www-xsl-fo-request@xxxxxx [mailto:www-xsl-fo-request@xxxxxx] On Behalf
Of Oleg Tkachenko
Sent: 05 March 2003 18:13
To: Rob Staveley (Tom)
Cc: www-xsl-fo@xxxxxx
Subject: Re: Filling space with a character
Rob Staveley (Tom) wrote:
> I'd like to be able to generate an index page on a catalogue, which
> looks like this:
>
> Widgets........................................12,13,44
>
> Thingummies..........................................99
>
> Whatnots that need a long-winded
> description...................................100,102
>
> The names are left-justified, numbers are right-justified and dots
> bridge the gap.
See "Indexing and Tables of Contents" at Dave Pawson's book -
http://www.dpawson.co.uk/xsl/sect3/bk/ch12.html#d0e5483.
--
Oleg Tkachenko
Multiconn Technologies, Israel
|