FOP, Index and duplicate page number

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

FOP, Index and duplicate page number

Venkatesan

Hi all,

I need to work on Index for very large document. 

The Index is formatted like this: 

Albert ................................... 4, 5 
Alfred ................................... 6, 10, 11 

It works fine, but sometimes there are several reference on the same pages.

The results it is not so good:

Albert ................................... 4, 5, 5, 5 
Alfred ................................... 6, 10, 10, 10, 11, 11

It seems from the FO specs that a best result like this:

Albert ................................... 4, 5 
Alfred ................................... 6, 10, 11

It's possible to achieve this in Apache FOP? Please, Somebody give me a suggestion?

Regards,

Venkatesan

 


Please consider the environment before printing or forwarding this email. If you do print this email, please recycle the paper.

This email message may contain confidential, proprietary and/or privileged information. It is intended only for the use of the intended recipient(s). If you have received it in error, please immediately advise the sender by reply email and then delete this email message. Any disclosure, copying, distribution or use of the information contained in this email message to or by anyone other than the intended recipient is strictly prohibited. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Exela Technologies, Inc. or its subsidiaries.

This email does not constitute an agreement to conduct transactions by electronic means and does not create any legally binding contract or enforceable obligation against Exela in the absence of a fully signed written agreement.
Reply | Threaded
Open this post in threaded view
|

RE: FOP, Index and duplicate page number

Jan Tosovsky
On 2018-05-29 Venkatesan Manickam wrote:

>
> I need to work on Index for very large document.
>
> The results it is not so good:
>
>
> Albert ................................... 4, 5, 5, 5
> Alfred ................................... 6, 10, 10, 10, 11, 11
>
> It's possible to achieve this in Apache FOP? Please, Somebody give me a
> suggestion?
>

FOP doesn't support extended FO features for Indexing, see https://xmlgraphics.apache.org/fop/compliance.html

For DocBook outputs there is a workaround http://www.sagehill.net/docbookxsl/IndexCleanup.html, which could be most likely adapted for your specific use case.

Regards,

Jan


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]