David (Grigg), are you still the one maintaining renumber endnotes?
In Gibbon, I have both endnotes
on endnotes, and endnotes referring to other endnotes. IOW…
<li id=“note-14-3” epub:type=“endnote”>
<p>This endnote has its own endnote.<a href=“endnotes.xhtml#note-14-3-A” id=“noteref-14-3-A” epub:type=“noteref”>14-3-A</a>
</li>
<li id=“note-14-3-A” epub:type=“endnote”>
<p>This is more text about the subject of the parent endnote.</p>
</li>
<li id=“note-18-27” epub:type=“endnote”>
<p>This note refers to <a href=“endnotes.xhtml#note-14-3”>this other endnote</a>.</p>
</li>
What I was hoping would happen is that when renumber endnotes renumbered all three endnotes, it would also catch that the reference in 18-27 also needed to be corrected. Alas, it did not. And there may be a good technical reason why it can't. But if it can, and just doesn’t, then this is a plea that it would. :) I have upwards of 50 of these, which I can obviously do manually, but would rather not. (It’s very manual—I have to search for the note id in an old version, then find that note's text in the new version, to give me the xref for old ID to new ID, update the reference, and do all that for each of the 50.)
All of my references like this are in endnotes, but it’s theoretically possible that text in one of the chapters could also refer to a note, so if something can be done, it should be done on all files, not just the endnotes file.
And if nothing can be done, then I’ll start on my manual process. :)