View Single Post
Old 03-07-2013, 11:15 AM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,006
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by grannyGrumpy View Post
Careful, there -- that pattern will also replace the anchor links in the Endnotes, so they will link back to themselves, I think.

Don't you need one pattern to fix the link that goes from the paragraph TO the endnote, and another pattern to fix the link that goes from the endnote BACK to the source paragraph?
If the regex I posted will modified the endnotes so they are not correct, just don't load the endnotes file into Notepad++ and let it do its work on the rest of the XML files.

But given that the endnotes will be referring back to different files, I think the endnotes may have to be edited by hand.
JSWolf is online now   Reply With Quote