View Single Post
Old 06-04-2018, 10:39 AM   #10
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
Just pushed fix for crash to master. I will not add the capability to replace single or multiple existing html files at once due to issues with renaming when not an exact match but only a match due to case insensitive filesystems. Renaming even one of a set will/can break links to other html files, toc, etc, etc,

So the solution to wanting anything else is to:

1. keep a template epub with your template files in which all filenames in the template have a unique prefix.

Or

2. load epub to be merged first and rename conflicting files so that Sigil can properly handle updating and correcting all links before merging into first epub.

3. write an edit plugin that groks your template system and have it load the files and fix any broken links


BTW, this bug may still cause issues with similarly6 named multimedia or images as I do not yet have a case insensitive filesystem to check with (yet). My focus was on preventing the initial crash.
KevinH is online now   Reply With Quote