You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Venkatesan Manickam <Ve...@exelaonline.com> on 2018/05/29 10:26:24 UTC

FOP, Index and duplicate page number

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.

RE: FOP, Index and duplicate page number

Posted by Jan Tosovsky <j....@email.cz>.
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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org