Pages: 1
Print
Author Topic: Index entries - too many page numbers at the highest level  (Read 3379 times)
Bill H
Member

Posts: 9

Principal Technical Writer


« on: March 31, 2009, 12:07:22 PM »

Can anyone tell me why I get all these page numbers after a first-order index entry, for example:

(Output: PDF. Using XMetaL 5.1, OT, RenderX through XDocs)

IP address 19, 53, 55, 60, 78, 93, 101, 102, 110, 121, 122, 123
       available addresses for computers and other devices 101
       computer 101
       DHCP 93
       (and so on... numerous other entries)

Example entry:
<indexterm class="- topic/indexterm ">IP address<indexterm
        class="- topic/indexterm ">computer</indexterm></indexterm>

But elsewhere in the same index I get what I really want--no page numbers with the main entry:

LEDs
       front panel 88
       LAN port 89
       purpose 87

Example entry:
<indexterm class="- topic/indexterm ">LEDs<indexterm class="- topic/indexterm ">front
            panel</indexterm></indexterm>

I thought maybe the cause was an extra space after "- topic/indexterm "> as in (second line):

<indexterm class="- topic/indexterm ">IP address<indexterm
        class="- topic/indexterm "> public IP address</indexterm>

But I removed such spaces and still get the same result. Can anyone tell me what's going on here? As shown above, I see this behavior for some entries, but not others in the same index.

I took the example entries above, removed the text part, and did a character-by-character comparison. I see no difference.

"Someone out there in DITA Land will know..."
« Last Edit: June 04, 2009, 01:06:34 PM by Su-Laine Yeo » Logged
Bill H
Member

Posts: 9

Principal Technical Writer


« Reply #1 on: March 31, 2009, 12:24:26 PM »

Correction: I'm using XMetaL 5.5!
Logged
Jill
Member

Posts: 3


« Reply #2 on: April 15, 2009, 12:05:47 PM »

I don't know if this is related, but I'm getting those extra page numbers if I configure a start-end range on a nested entry. The page range is being applied to the nested term and its parent. 

For example, the code for a sample starting entry looks like this:

<indexterm>sample term<indexterm start="blah">nested term</indexterm></indexterm>

(and I add the corresponding ending entry to the end topic)
Output looks like this:

sample term
3-7
    nested term 3-7

I'm using 5.5 as well. I hope I'm not hijacking Bill H's thread! Thanks anyone for any suggestions.
Jill
Logged
Su-Laine Yeo
Solutions Consultant
Member

Posts: 260


« Reply #3 on: May 08, 2009, 03:08:33 PM »

Bill, could you please zip up your map and topic files in which you see the problem, and email them to me? Jill, if you could do the same that would also be helpful. I'm at syeo [at] justsystems.com .

I took a look through the Open Toolkit bug tracker on Sourceforge and couldn't find a description for either of the above problems. I'll try to reproduce the problems on my own machine.

Cheers,
Su-Laine
Logged

Su-Laine Yeo
Solutions Consultant
JustSystems Canada, Inc.
Jill
Member

Posts: 3


« Reply #4 on: May 08, 2009, 04:32:49 PM »

Hi Su-Laine,
Thanks so much for your help! I just emailed my .zip file.

Kind regards,
Jill
Logged
Su-Laine Yeo
Solutions Consultant
Member

Posts: 260


« Reply #5 on: May 11, 2009, 06:34:49 PM »

Hi Jill,

Thanks for sending me your files. I believe this problem can be fixed by refactoring the index markers in your content. For example, you have this in one topic:

<indexterm>sample term<indexterm start="blah">nested term</indexterm></indexterm>

and then in a second topic you have:

<indexterm>sample term<indexterm end="blah"></indexterm></indexterm>

If you remove the parent index marker from the second topic, you should get the results you want. E.g. it should be a single index marker looking like this:

<indexterm end="blah"></indexterm>

I've tried this with a few of your index terms, and it seems to solve the problem.

Cheers,
Su-Laine
Logged

Su-Laine Yeo
Solutions Consultant
JustSystems Canada, Inc.
Jill
Member

Posts: 3


« Reply #6 on: May 11, 2009, 06:57:50 PM »

Hi Su-Laine,
That worked on this end, too, hooray! Thanks again for your help, I really appreciate it. :)

Jill
Logged
Bill H
Member

Posts: 9

Principal Technical Writer


« Reply #7 on: May 26, 2009, 02:14:29 PM »

Hi Su-Laine,

I just saw your request to send zipped files. I've sent them. Looks like my problem may be the same as Jill's, but I'm not sure.
Logged
Su-Laine Yeo
Solutions Consultant
Member

Posts: 260


« Reply #8 on: June 04, 2009, 01:06:16 PM »

Just so everyone knows: Using Bill's files, we weren't able to reproduce the problem with XMetaL 5.5, although the Bluestream team was able to reproduce it with XDocs.  As far as we can tell, the problem does not have anything to do with XMetaL.

Su-Laine
Logged

Su-Laine Yeo
Solutions Consultant
JustSystems Canada, Inc.
Pages: 1
Print
Jump to: