On 03/06/2015 15:32, Michael Müller-Hillebrand mmh(_at_)docufy(_dot_)de wrote:
We are challenged with a layout for an alphabetical index that uses
leader dots and forces page numbers to the right border of the
current column, like this:
| keyword .......... 23 |
If the keyword gets longer and suffers a line break, everything is
fine:
| a special, longer |
> | keyword .......... 23 |
But, if we have many page references, so that both keyword and all
page numbers do not fit a single line, it gets ugly, e.g. like this:
| other keyword .... 5, |
> | 11, 25, 42 |
...
As always, I am grateful for any suggestions or pointers. Like,
should we work with <fo:index-page-citation-list> instead, to solve
this problem?
Since you're using AH Formatter, look at axf:leader-expansion [1].
From the documentation, the examples of what can be achieved are:
Short Label ................................. 10, 20, 30
Short Label ... 10, 20, 30, 40, 50, 60, 70, 80, 90, 100,
110, 120, 130, 140, 150
Very Loooooooooooooooooooooooooooooooooooooong Label ...
............................................. 10, 20, 30
Very Loooooooooooooooooooooooooooooooooooooong Label ...
..... 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120,
130, 140, 150
Very Very Very Loooooooooooooooooooooooooooooooooooooong
Long Long Label ............................. 10, 20, 30
Very Very Very Loooooooooooooooooooooooooooooooooooooong
Long Long Label .... 10, 20, 30, 40, 50, 60, 70, 80, 90,
100, 110, 120, 130, 140, 150
(I sure hope the examples survived being copied into an email.)
Regards,
Tony Graham.
--
Senior Architect
XML Division
Antenna House, Inc.
----
Skerries, Ireland
tgraham(_at_)antenna(_dot_)co(_dot_)jp
[1]
http://www.antennahouse.com/product/ahf60/docs/ahf-ext.html#axf.leader-expansion
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--