Re: [xsl] fo:leader for table of contents

Subject: Re: [xsl] fo:leader for table of contents
From: MURAKAMI Shinyu <murakami@xxxxxxxxxx>
Date: Sat, 10 Feb 2001 11:23:10 +0900
David Carlisle <davidc@xxxxxxxxx> wrote:
> By dynamic do you just mean that you want the leaders to be as long as
> possible? If so that is the default behaviour, 
> just <fo:leader leader-pattern="dots"/> will expand as long as necessary
> up to leader-length.maximum (which defaults to 100%).

i think it's not enough.
text-align-last="justify" is needed for the containing block.
if "justify" is not specified, naturally leader-length.optimum value is used.

See the XSL CR spec:

| 7.20.4 "leader-length"
| XSL Definition:
| Value:  <length-range> | inherit 
| Initial:  leader-length.minimum=0pt, .optimum=12.0pt, .maximum=100%  
:                                      ^^^^^^^^^^^^^^^
| NOTE: 
| User agents may choose to use the value of "leader-length.optimum" to 
| determine where to break the line, then use the minimum and maximum 
| values during line justification."


 XSL-List info and archive:

Current Thread