09-23-2021, 09:00 AM | #1 |
Enthusiast
Posts: 45
Karma: 10
Join Date: Sep 2011
Location: Barrhead, Scotland
Device: Kindle Paperwhite (2)
|
Merged Book, now won't Split...
Hi all,
I have merged a Title (.html) to carry out some basic grammar and punctuation amendments. Having reinserted the Split Markers, when I now select the Edit option I get the following message:- "Cannot split since at least one file may not be an HTML file" The file is named as ***.html (and I haven't done anything to consciously change it), so I don't know where this error has occured. Anyone seen this before, or can tell me where I may have gone wrong? |
09-23-2021, 09:08 AM | #2 |
Sigil Developer
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
|
A few thoughts:
Sigil can do spellchecking and find and replace across files without any need to merge things first. That said, this issue generally comes when a file with an ".xml" extension is not properly identified by media type. So here are some things to look at: - Are you sure you have used ".html" as the file extension? Perhaps an embedded character or space got involved somehow? You could try renaming the file to be sure. - How does the current OPF (content.opf) show that one file in its manifest? What media-type and exact name does it have? - Are there any other files in the manifest that are ".xml" and NOT .html or .xhtml? If so what media-type do they have? - If you do have ".xml" files, try removing them **after** saving them to files first so you do not lose anything, and try splitting again. Last edited by KevinH; 09-23-2021 at 09:16 AM. |
09-23-2021, 04:30 PM | #3 |
Enthusiast
Posts: 45
Karma: 10
Join Date: Sep 2011
Location: Barrhead, Scotland
Device: Kindle Paperwhite (2)
|
Hi Kevin,
I admit that I'm a bit lost when it comes to the 'gubbins' of these books. It is, however, the first time that I've seen this particular error, (having done similar with the majority of my book library). I've attached the opf file for perusal. |
09-23-2021, 05:15 PM | #4 |
Sigil Developer
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Rename "cover.xml" to "cover.html"
|
09-24-2021, 03:06 AM | #5 |
Enthusiast
Posts: 45
Karma: 10
Join Date: Sep 2011
Location: Barrhead, Scotland
Device: Kindle Paperwhite (2)
|
And, just like that, the issue is resolved.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Split book records | Rellwood | Calibre | 27 | 07-14-2020 08:52 PM |
How do I split a format to a new book record? | ownedbycats | Calibre | 2 | 06-14-2020 03:05 PM |
Edit E-Book : split page | dmonasse | Editor | 2 | 12-07-2014 01:32 PM |
Moon+ Reader won‘t read merged epubs | yakuri-moe | Android Devices | 0 | 06-29-2013 09:09 AM |
Merge/Keep First Book - Yes/No Column Not Merged Correctly | nynaevelan | Library Management | 1 | 08-07-2011 09:52 AM |