[xep-support] Fixed width field and leaders

Mark Burton burtoogle at gmail.com
Wed Dec 29 13:55:11 PST 2010


Hi,

I'm just starting with XSL-FO and I am trying to customise the docbook
stylesheets.

Is it possible to construct a TOC line that looks like this?

1      Some section ......................... 3
1.1    A sub-section ........................ 4
2      Another section ...................... 5

So it's some text in a fixed width field, another text field that's
variable length, the dots and then the page number at the end of the
line.

I tried putting the label text inside <fo:inline width="2cm"> but it
didn't have any effect, the leaders appear to gobble all of the space
in the line. Having spent quite a few hours trying to come up with a
solution, I would be grateful if anyone could suggest what is
required.

Cheers,

Mark

!DSPAM:87,4d1bae4163735959885819!




More information about the Xep-support mailing list