This content has been marked as final. Show 9 replies
I realize that this topic is a bit old, but I've just experienced the same problem.
I didn't notice a problem with my index until I managed to merge two projects. I fooled around with the index and seemed to get it to work. But then I realized that the index wasn't including entries from one of the projects. So it seems that merging the indexes might be causing the problem, at least in my case.
My keywords are stored in the .hhk file. I tried changing the keywords and adding them to topics, but that made things even worst. I also tried viewing the .hhk file in HTML Help Workshop, but the index was already messed up.
Does anyone have any ideas on this? Can anyone explain how .hhk files work? This isn't pressing; I have a workaround. But I'm curious to know how the index works.
Ressucitating this topic as I have a similar issue but I am not working on a merged project....
I am using RH for HTML X5 and generating HTML Help. I was working on the index (adding keywords) when RH crashed on me (CPD issue). I restored my CPD file and for some reason now, the index from the RH project does not match the index of the compiled CHM file! I tried opening the project.hhk file and the rhkkeyword.apj file in a text editor and tried to find the keywords that are in the compiled help but not in the project. Both files looked like my index from within the RH project, i.e. they did not have these extra keywords. Basically, I have got a few keywords stored somewhere, but not in my hhk or apj files, that I cannot edit.
Any ideas of where these could be stored (CPD?). How can I get to them? I need to edit the topics linked to one of these keywords and cannot do this. I tried re-adding the keyword to my index in RH but the software tells me it already exists (and I cannot see it)...
Thanks in advance for any assistance,
Sounds like you may have some topic stored index entries. Create a copy to do some testing. Change where index entries are stored and see if the others come back. Then change back. Experiment like that.
Also create a topic stored index entry and see how it is stored. Then do some searching using something like FAR to find out which topics have entries stored in this way.
Not sure that is the cause but a possibility.
I am not sure I understand what you mean (I must be having a "thick" day) but I am going to investigate this. I have made a copy of my CPD and in the kkeywordList table, I can see my extra keywords. They have been assigned a negative keyword ID (dunno if this is normal, I know very little about databases...). However I cannot see where the related topics are stored. A bit more investigation is required, methinks.
Thank you for your reply.
Go to Project Settings and you will see two radio buttons which determine where index entries are held.
Aaaaaaaaaaaaaaaargh, new keywords are added to topics in my project...
1. Does that mean that I need to open the 2 topics that keyword relates to, find where the keyword is being held, and delete the reference to it?
2. Can I click the hhk radio-button (are there going to be some side-effects) to have keywords added to my hhk file (I suppose keywords added before this will remain in the topics)?
Sorry for the flow of questions, just trying to save the boat from sinking at the moment
Go to the properties of these two topics and you should see the topic stored keywords there. Delete them. Then reset your project and enter the keywords again. They will go to the HHK file and all should be well.
I will try that & am currently investigating the pros and cons of topic keywords vs index keywords. Thanks for your advice Peter.
Take a look at snippets. I think is at least one problem there using topic keywords.