View Single Post
Old 08-21-2016, 09:01 PM   #1
bookart
Junior Member
bookart began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2016
Device: none
Automatic endnote renumbering after insert

I searched around quite a bit on this forum and elsewhere and haven't come across any clear solution to a problem I am facing.

I have an e-book in .mobi format and .epub format. I can edit the .epub file with calibre no problem. I have added endnotes, and though it takes a bit of doing with getting the links correct and all, it works okay. However, the inserted endnotes are not in numerical sequence with the ones before and after, which is what I want to have.

Is there any simple way (or any reasonable way other than having to renumber hundreds of endnotes by hand) to renumber the endnotes automatically to get them into sequential order? If I need to custom code a program to parse and replace text, that is possible (though certainly not ideal), but the .epub file seems to be gibberish and so I do not know how to parse it for xml tags and such.

Any suggestions would be a great help for me and I would guess others too. It would be great if Calibre had this feature, but it does not seem to.

Thanks in advance!
bookart is offline   Reply With Quote