Re: [xep-support] @merge-sequential-page-numbers in FO 1.1 Indexes is not working

From: Volodymyr Mykhailyk <Volodymyr.Mykhailyk@intelliarts.com>
Date: Mon Oct 15 2007 - 11:11:57 PDT

Hi Ken,

thanks for your investigation, it shows that I am not doing something
wrong, and this is a problem of XEP.

Under 'some_value' I mean correct value, and there is no problems with
this index-key, because numbers are showed - but not merged.

Forgot to mentioned, I am using Xep 4.9.
--BS
G. Ken Holman wrote:
> At 2007-10-15 17:01 +0300, Volodymyr Mykhailyk wrote:
>> We have a book with Indexes in FO 1.1 format
>> (fo:index-page-citation-list, fo:index-key-reference, etc). I need to
>> enable merging of subsequent page numbers in the index. But
>> @merge-sequential-page-numbers="merge" attribute is not working.
>> Following structure is not merging numbers (11,12,13,14,15 to 11-15)
>>
>> <fo:index-page-citation-list
>> merge-sequential-page-numbers="merge">
>> <fo:index-key-reference
>> ref-index-key="some_value"
>> xsl:use-attribute-sets="__index__page__link"/>
>> </fo:index-page-citation-list>
>>
>>
>> Am I doing something wrong?
>
> You don't show the actual index key placements in your code, but my
> gut feel is that you are doing everything right. If you hadn't placed
> them correctly in your code, then they would not have been retrieved
> into the index entry.
>
> So I just created and tried the following:
>
> <?xml version="1.0" encoding="US-ASCII"?><!--raw.fo-->
> <root xmlns="http://www.w3.org/1999/XSL/Format"
> font-family="Times" font-size="20pt">
>
> <layout-master-set>
> <simple-page-master master-name="frame"
> page-height="297mm" page-width="210mm"
> margin-top="15mm" margin-bottom="15mm"
> margin-left="15mm" margin-right="15mm">
> <region-body region-name="frame-body"/>
> </simple-page-master>
> </layout-master-set>
>
> <page-sequence master-reference="frame">
> <flow flow-name="frame-body">
> <block>Page without an index entry</block>
> <block break-before="page" index-key="x">Page with an index
> entry</block>
> <block break-before="page" index-key="x">Page with an index
> entry</block>
> <block break-before="page" index-key="x">Page with an index
> entry</block>
> <block break-before="page" index-key="x">Page with an index
> entry</block>
> <block break-before="page">
> Index:
> <index-page-citation-list merge-sequential-page-numbers="merge">
> <index-key-reference ref-index-key="x"/>
> </index-page-citation-list>
> </block>
> </flow>
> </page-sequence>
> </root>
>
>
> And it doesn't work either, but I'm quite confident it should be working.
>
> Looking at: http://www.renderx.com/reference.html#XslFoConformance I
> do not see merge-sequential-page-numbers= on the unsupported list ...
> so, yes, I think there is a problem with XEP in this area, and not
> your code.
>
> I hope this helps.
>
> . . . . . . . . . . . Ken
>
> --
> Comprehensive in-depth XSLT2/XSL-FO1.1 classes: Austin TX,Jan-2008
> World-wide corporate, govt. & user group XML, XSL and UBL training
> RSS feeds: publicly-available developer resources and training
> G. Ken Holman mailto:gkholman@CraneSoftwrights.com
> Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
> Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
> Male Cancer Awareness Jul'07 http://www.CraneSoftwrights.com/f/bc
> Legal business disclaimers: http://www.CraneSoftwrights.com/legal
>
> -------------------
> (*) 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

-------------------
(*) 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 Mon Oct 15 12:04:36 2007

This archive was generated by hypermail 2.1.8 : Mon Oct 15 2007 - 12:04:37 PDT