View Single Post
Old 03-09-2016, 03:07 AM   #1
arthurattwell
Member
arthurattwell is on a distinguished road
 
Posts: 12
Karma: 56
Join Date: Dec 2008
Device: None
Internal links not updating after file split (Sigil 0.9.3, Win 10)

I have an epub with internal links between HTML files, and Sigil <hr> split markers. When I run Split Markers:

* internal links in the split files update correctly;
* links to the split files from other files do not update.

Is this expected behaviour, or should Sigil be updating internal links in all files?

Here are more details:

I've attached two sample epubs:

* test-pre-split.epub
* test-post-split.epub

They include a contents page (0-3-contents.html) with internal links to chapters (1.html). And each chapter has a linked footnote. I'm splitting 1.html into three files: 1.html (chapter 1), 1_0001.html (chapter 2), 1_0002.html (Notes).

If I run Split Markers on test-pre-split.epub, the footnote links (within 1.html) update correctly, as does the NCX. But the links on the contents page to ID anchors in 1.html do not update when splitting. (See test-post-split.epub.)

(Incidentally, while test-post-split.epub passes FlightCrew, EpubCheck 4.0.1 throws a 'fragment identifier is not defined' error at the Contents page file.)

I'm using Sigil 0.9.3 on Windows 10.
Attached Files
File Type: epub test-pre-split.epub (29.5 KB, 391 views)
File Type: epub test-post-split.epub (30.9 KB, 385 views)
arthurattwell is offline   Reply With Quote