Say I have a topic XYZ that appears on three separate pages of a .CHM I'm building using HTML Help Workshop. In the final .CHM file, if I click on XYZ in the index it lists all three places where the topic appears in the final file. But the titles shown in the index aren't always helpful. It appears the problem occurs when the target of the link is an anchor within a page.
Checking the XML file created, I see:
<param name="Name" value="Device Address">
<param name="Local" value="address.htm">
will make an entry of "Device Address", but
<param name="Name" value="Serial Panel">
<param name="Local" value="serial.htm#addr">
will make a link of "XYZ" instead of "Serial Panel." If I have all three references as anchor links, all three references will show up in the index as XYZ, with no way to distinguish them without following each link to see where they go.
Is there any way to improve this functionality, to make it always use the page title, for example, whether the link is an anchor or not?