View Single Post
Old 11-30-2020, 02:37 PM   #9
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: 8,885
Karma: 6120478
Join Date: Nov 2009
Device: many
Yes this is a bug! I have just now committed a fix for it to master. The Sigil devs need to think about a Sigil-1.4.3 release or not.

As for performance in splitting really really long files, the best approach is to use find and replace to manually insert split markers all at once. Then running SplitAtMarkers which should use QtConcurrent and multiple threads to help speed up things.

If you do splitting manually, you should start at the end of the file and split pieces off from the bottom. It is a bit faster that way.


But before doing that, if you do a lot of file splitting, I would revert to Sigil-1.3.0 for now until or if a Sigil-1.4.3 makes the scene.

Sorry about that.

And thank you for your bug report!



Quote:
Originally Posted by Shozzer View Post
Hi

It is so long that I used the forum that I have had to re-register!

I have been using Sigil for a number of years and recently updated to 1.4.2. (Windows 10). I have noted an issue regarding splitting files and the updating of links. When creating links to footnotes I use the following format: <a id="fn1" href="#en1"> and then close off with </a>. In the past, when I split the file into chapters the links were updated automatically to reflect the split files. When I split a file now the link stays the same. Is there a setting I need to change or is it the way I have formatted the tag? The posts above suggest that the link update should be automatic.

I have another query regarding file splitting and performance but will raise this in a separate thread.

Many thanks.

Last edited by KevinH; 11-30-2020 at 02:40 PM.
KevinH is offline   Reply With Quote