W3C home > Mailing lists > Public > www-xsl-fo@w3.org > November 2001

xsl:fo and tabulations

From: Laurent Vaills <laurent.vaills@laposte.net>
Date: Wed, 14 Nov 2001 05:23:12 -0500 (EST)
To: www-xsl-fo@w3.org
Message-Id: <1005733618.6778.33.camel@dms2.essi.fr>
Hi. 

I want to be able, for example to generate a table of contents like this
one : (best view with a fixed font)
Chapter 1.................................1
  Section 1...............................2
    Subsection 1..........................3
    Subsection 2..........................4
 
With all the page numbers aligned on the right. 
Most word processors do this by inserting a tabulation between the text
and the page numbers and we can choose whatever we want instead of the
dots.
I've watched the fo:leader and the examples of FOP but it doesn't suit
my needs because the page numbers are not aligned to the right.

Is there a way to do this with xsl:fo ?

PS: the table of contents is just a simple example. What I want to do is
to be able to use the same concepts of tabulations that Word and others
word processors define.

Laurent
Received on Wednesday, 14 November 2001 09:32:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:08 GMT