[softwarelist] Corrupt index

I have a fairly large document, the index of which I originally generated
using Index-Pro applet.  Since then, the document has been heavily edited,
including being split into two documents when it got too big.  As far as I
remember, I did the split by making a copy and then deleting the later
chapters from the first file and the earlier chapters from the second file.
 The index has had several manual changes, and I wanted to go back, make
sure all the index entries are in the document, and re-generate the index
with Index-Pro.

I have met several problems that I can't currently solve.

1 - Some of the index entries seem to be corrupt.  When using the Review
window to scan through them, I get a warning that the entry isn't
initialised.  It's hard to be sure exactly what is happening, since there
doesn't seem to be a way to view index markers in the text - just click
through and see which frame if highlighted.

 2 - If I try to delete said entry, O-Pro hangs (Alt-Br to escape).  If I
try to use Check File, the same happens.

Does anyone know how I can isolate and remove faulty index references?

Another thing I noticed when  I opened the file in a text editor, wondering
if I might obtain any inspiration (I didn't) is that there seem to be large
chunks of the text from each half of the book in the other.  I guess that
this is some sort of left over garbage, but it must have been there a long
while (since before it was split in two).  Is there any way of compacting
the document to clear it out?  The might perhaps reduce the size and make
it sensible to put the two halves together again. 

Any ideas welcome.

Regards

-- 
John Harrison
http://www.jaharrison.me.uk
Message sent from an Iyonix running RISC-OS 5
To unsubscribe or subscribe goto: http://www.freelists.org/list/davidpilling

Other related posts: