Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-24-2020, 05:59 PM   #16
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,761
Karma: 5706256
Join Date: Nov 2009
Device: many
Okay, I took a look at your epub and it said the following in its OPF:

Quote:
<dc:language>en</dc:language>
and it has the following in its cover.xml file (and no other place).

Quote:
xml:lang="en"
And most importantly it has 7 plus chapters all squeezed into one huge html file with over 6300 lines to parse.

That one huge file (which is equivalent to putting almost the entire book in one file) is the reason for Sigil's "slowness".

There are already sigil_split_markers in the text (too many of them so it will end up splitting things in the middle of chapters too).

To "speed up", you should:

1. first go to the View menu and turn off Preview Mode (which is taking all of the time as it is trying to load and render the entire book all at once in one html file). After that, performance should "improve".

2. Next you should use Sigil to rename the "cover.xml" file to be called "cover.html" as an xml file can hold anything and it will prevent Sigil from running split as it will not know how to handle that file.

3. Next after removing the extra sigil_split_markers, you should then use Sigil's Split at Markers menu to split that huge file into the 7 chapters.

4. Then you can turn back on Preview using the Tools menu.

Finally, I could not recreate your spellcheck issues at all. I simply went to Sigil and changed my Primary SpellChecking dictionary to English - Great Britain and then added the following line to the first html file: "My favourite color is red." and the spellchecker detected "favourite" as correct and "color" as incorrect as expected.

So your "slowness" is due to a very poorly built epub file. And I can not recreate your spellcheck issues at all.
KevinH is offline   Reply With Quote
Old 12-25-2020, 03:48 PM   #17
Woodssi
Enthusiast
Woodssi began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Sep 2011
Location: Barrhead, Scotland
Device: Kindle Paperwhite (2)
@KevinH,
All noted.
Consider this topic closed, as I have been unable to replicate the issue with any other epub that I tried (about a dozen or so of my smallest).
Also, after adding Sigil to AV exclusions, it seems to be responding faster (again, I only tested with a smaller file).
Many thanks to all contributors for the tips & pointers.

Have yourselves a Merry Christmas, Happy Holidays, or whatever you choose to call this time of year!
Woodssi is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems new version Calibre 5.5 Agnes1952 Calibre 1 11-18-2020 09:15 AM
Problems installing Linux Version Ababakar Calibre 4 09-23-2016 10:41 AM
EpubPreflight Version 0.1.0 Problems konrad ePub 1 04-27-2010 03:34 PM


All times are GMT -4. The time now is 07:03 PM.


MobileRead.com is a privately owned, operated and funded community.