<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>FOP does not implement FO index processing, so it is incapable of removing duplicated page numbers on its own.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Antenna House and XEP RenderX can both render indexes.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If FOP is a requirement it can be done by implementing a two-pass process using the FOP area tree—basically post-process the rendered index to generate a literal markup representation of the correct page number references then rerender the XML to produce the final PDF.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Cheers,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Eliot<o:p></o:p></p><div><div><div><p class=MsoNormal><span style='font-size:10.5pt;color:black'>--<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;color:black'>Eliot Kimber<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;color:black'>http://contrext.com<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;color:black'> <o:p></o:p></span></p></div></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:12.0pt;color:black'>From: </span></b><span style='font-size:12.0pt;color:black'>oXygen-user <oxygen-user-bounces@oxygenxml.com> on behalf of Bernhard Kleine <bernhard.kleine@gmx.net><br><b>Date: </b>Monday, May 21, 2018 at 10:01 AM<br><b>To: </b><oxygen-user@oxygenxml.com><br><b>Subject: </b>[oXygen-user] repeated indexentries with the same text from the same page<o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p>During the indexing process I noticed that an repeated indexentry is not automatically removed. An example:<o:p></o:p></p><p><img width=279 height=90 style='width:2.9062in;height:.9375in' id="_x0000_i1025" src="cid:image001.png@01D3F0ED.7D6BD290" alt="cid:part1.063AA538.A0C35FAE@gmx.net"><o:p></o:p></p><p>I agree that the example is not very intelligent. I substituted the entity<o:p></o:p></p><p><!ENTITY T3 "T&#8323; "><o:p></o:p></p><p>with <o:p></o:p></p><p><!ENTITY T3 "T&#8323; <indexterm>&primTthree;</indexterm>"><br><!ENTITY primTthree "<primary>TH (Schilddrüsenhormon)</primary><secondary sortas='Tdrei'>T₃, (Trijodothyronin)</secondary>" ><o:p></o:p></p><p>and the page 521 is about thyroid hormones, but it shows that FOP does not check for doubled page numbers of the same entry.<o:p></o:p></p><p>Kind regards<o:p></o:p></p><p>Bernhard<o:p></o:p></p><p><o:p> </o:p></p><p>-- <o:p></o:p></p><pre>spitzhalde9<o:p></o:p></pre><pre>D-79853 lenzkirch<o:p></o:p></pre><pre><a href="mailto:bernhard.kleine@gmx.net">bernhard.kleine@gmx.net</a><o:p></o:p></pre><pre><a href="http://www.b-kleine.com">www.b-kleine.com</a>, <a href="http://www.urseetal.net">www.urseetal.net</a><o:p></o:p></pre><pre>-<o:p></o:p></pre><pre>thunderbird mit enigmail<o:p></o:p></pre><pre>GPG schlüssel: D5257409<o:p></o:p></pre><pre>fingerprint:<o:p></o:p></pre><pre>08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09<o:p></o:p></pre><p class=MsoNormal>_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user <o:p></o:p></p></div></body></html>