This might already be discussed somewhere, but I didn't find it.
My tale:
I created my html text in Notepad++, one big file for the entire book, with Sigil chapter-break split markers included.
All my footnote tags and ID's are included, and look like this. They all use ch01.xhtml as the filename, because the file has not been split yet.
Code:
<a href="../Text/ch01.xhtml#fnt01" id="fnc01">[1]
The last footnotes occur in what will be Chapter 70.
Load this into Sigil v 7.4 or 7.3 (or copy-paste). (I am using the portable version from PortableApps.com, in case this has any bearing on the subject.)
Go to Edit->Split On Markers. Successfully split into 73 files.
Sigil has set
EVERY footnote link and back link to this:
Code:
<a href="../Text/ch01_0069.xhtml#fnt01" id="fnc01">[1]
, with the exception of the links in
ch01_0069.xhtml, which it (incorrectly) left set at
ch01.xhtml.
I must manually edit each one to match the correct chapter name/number.
If I use bulk-rename to ch01; ch02, ch03, etc; it then sets the filenames in all the links to ch
70.
So of course, every footnote call goes to the footnotes in Chapter 69/70. Every backlink returns to the anchor ID in Chapter 69/70. (Excepting the ones in Chapter 69/70, which travel to and from Chapter
01.)
The same thing happens if I edit the filenames in the links to the "future" filenames before I load the text into Sigil.
Is this a normal outcome, or have I done something wrong? For future use, do I need to split the file up and set the links BEFORE I load into Sigil?
EDITED TO ADD: I used to do this successfully in v 6.x. When creating the file in Notepad++, I would set the link filenames to the "future" filename, and Sigil would leave them alone. But now it is updating links when files are re-named, and something has gone wrong with my world...