I have problem in FOP Trunk.
I am trying to make Table Of Contents to look like this (but not with using "pre"):
TOC
1 chapter1name . . . . . . . . . . . . . . . . . . . . . . . .  1
   1.1 subchapter1name . . . . . . . . . . . . . . . . . . . .  1
   1.2 subchapter2name . . . . . . . . . . . . . . . . . . . .  2
   1.3 subchapter3name . . . . . . . . . . . . . . . . . . . .  3
2 chapter2name . . . . . . . . . . . . . . . . . . . . . . . .  4
   2.1 subchapter1name . . . . . . . . . . . . . . . . . . . .  5
      2.1.1 subsubchapter1name . . . . . . . . . . . . . . . .  7
      2.1.2 subsubchapter2name . . . . . . . . . . . . . . . .  9
   2.2 subchapter2name . . . . . . . . . . . . . . . . . . . . 11
   2.3 subchapter3name . . . . . . . . . . . . . . . . . . . . 12
Beginnings of each line are OK (I am using text-indent), but on the right side I am getting a bit strange alignment (text-align-last="justify" seems works incorectly):
TOC
1 chapter1name . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 subchapter1name . . . . . . . . . . . . . . . . . . . . 1
1.2 subchapter2name . . . . . . . . . . . . . . . . . . . . 2
1.3 subchapter3name . . . . . . . . . . . . . . . . . . . . 3
2 chapter2name . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1 subchapter1name . . . . . . . . . . . . . . . . . . . . 5
2.1.1 subsubchapter1name . . . . . . . . . . . . . . . . 7
2.1.2 subsubchapter2name . . . . . . . . . . . . . . . . 9
2.2 subchapter2name . . . . . . . . . . . . . . . . . . . 11
2.3 subchapter3name . . . . . . . . . . . . . . . . . . . 12


Any idea, how to repeat this?
Thanks, Pavel Tyl

View this message in context: TOC problem with text-align-last
Sent from the FOP - Users forum at Nabble.com.

Reply via email to