03-15-2019, 11:22 AM | #1 |
Member
Posts: 15
Karma: 10
Join Date: Mar 2019
Location: Hamburg/Germany
Device: Kindle Paperwhite 7. Generation
|
sigil spell check complains parts of word
The picture should be self-explaning (click to enlarge):
The spellcheck complains the word "ei", but there is no such word. Instead it is a part of a word. And there is nothing wrong with it. These are the spellcheck settings: I tested sigil 0.9.10 and also 0.9.13 which I compiled today from master branch. |
03-15-2019, 11:51 AM | #2 |
Well trained by Cats
Posts: 30,377
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I suspect there is a hidden character (thin space, soft hyphen ...) in the next place.
Try moving the cursor to the right with the arrow key |
Advert | |
|
03-15-2019, 12:07 PM | #3 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
I'm 99% sure you have Soft Hyphens hidden in your code.
Easiest way to find it is: 1. Tools > Reports > Characters in HTML Files This will give you a list of all characters in your book. 2. Scroll down the list and look for anything strange: 3. Double-click the row, and it will put the strange character in the Search for you. You can then Find/Replace. In this case, if you double-click the Soft Hyphen, you can then replace it with nothing. Note: I attached a sample EPUB with a soft hyphen in it. Code:
<p>This example has a soft hyphen.</p> Note #2: If it isn't a Soft Hyphen, then it's probably one of the many different types of spaces or invisible characters (like a Zero-Width Joiner). Those will all show up in the Report. Last edited by Tex2002ans; 03-15-2019 at 12:09 PM. |
03-15-2019, 12:30 PM | #4 |
Member
Posts: 15
Karma: 10
Join Date: Mar 2019
Location: Hamburg/Germany
Device: Kindle Paperwhite 7. Generation
|
Wow! Thanks - I didn't know that such hidden code exists.
Removing it by replacing it with 'nothing' works when I choose regular expressions. I have 42 chapters and therefore a lot of files. Do I need to make this for a every file individually or is there a way to execute this on all files automatically? |
03-15-2019, 01:29 PM | #5 |
Grand Sorcerer
Posts: 27,903
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You can always add ­ or ­ to your Preserve Entities list in your Sigil Preferences. That way, all soft hyphens will be converted to visible html entities whenever opening/saving/mending an epub. Then they can be easily removed with F&R. You can add any other zero-space character entities you may encounter there as well. That way, they won't ever sneak up on you again.
Last edited by DiapDealer; 03-15-2019 at 01:33 PM. |
Advert | |
|
03-15-2019, 03:29 PM | #6 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
The 2nd dropdown should be changed from "Current File" to "All HTML Files". And yes, like you found out, the 1st dropdown should say "Regex". |
|
Tags |
spellcheck |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Spell Check not working at all | shadowThief | Editor | 6 | 06-12-2015 09:04 AM |
Spell Check dialog restarts at first word every time | phossler | Sigil | 5 | 04-11-2013 03:04 PM |
Spell Check | GeckoFriend | Sigil | 5 | 06-15-2012 03:09 PM |
My problem with the spell check. | kamanza | Sigil | 9 | 06-03-2012 04:27 PM |
how to use spell check | richreads | Sigil | 2 | 01-24-2012 10:13 PM |