[xep-support] Formatting of Index entries

From: Jost Klopfstein <jost@axostech.com>
Date: Wed Aug 10 2005 - 17:00:33 PDT

Hi,

I am producing an index with the rx extensions and I run into the following
problem:

The desired layout is as follows:
CLUTCH.............13, 25-29, 33, 46

(justified) for entries which fit on one line

ENGINE ....1, 3, 5, 7, 9, 11, 13, 15
                                       24, 26, 34
for entries which span more than 1 line.

I used fo:block with text-align="justify" text-align-last="justify" which
works fine for one line entries.

<fo:block text-align="justify" text-align-last="justify">
   ENGINE<fo:leader leader-pattern="dots"/>
   <rx:page-index list-separator=", " merge-subsequent-page-numbers="true"
range-separator=" to ">
      <rx:index-item ref-key="ENGINE"/>
   </rx:page-index>
</fo:block>

However entires which span more than one line are displayed as follows:
ENGINE ....1, 3, 5, 7, 9, 11, 13, 15
2 4 , 2 6 , 3 4

If have tried to solve the problem with text-align="right"
text-align-last="right" and use fo:initial-property-set to control the
alignment of the first line of the paragraph. However you can not set an
attribute for the text alignment in the fo:initial-property-set to overrule
the setting of its parent fo:block element.

Is there a different approach to achieve the desired layout with fo?

Thanks,
Jost

---------------------------
Jost Klopfstein
Axos Technologies Inc.
OnDemand & Transactional Document Solutions, powered by XML
IT Consulting

604 628-2248 Phone
604-324-2380 Fax
jost (at) xostech.com
http://www.axostech.com

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Wed Aug 10 17:32:20 2005

This archive was generated by hypermail 2.1.8 : Wed Aug 10 2005 - 17:32:23 PDT