View Single Post
Old 11-07-2012, 04:35 PM   #1
TheRealSteve
Member
TheRealSteve began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Sep 2012
Device: sony prs-t2
Next Misspelled Word

I have discovered a problem with the Next Misspelled Word function of Sigil, but I don't know what's causing it.

I am trying to clean up the Google-Books epub of Henry Adams's History of the United States to eliminate some distractions. Mainly these are spelling mistakes, scan errors, or words split in two. The split is only visible in Sigil in Code View, or in my Reader when the first part of the split comes at the end of a line. For example, here the word "learning" is split by code whose function, as a beginner, I don't understand:

On learn<a id="GBS.PA58.w.1.0.0"></a><span class="gtxt_body" id="para.70.1.0.box.248.234.1006.310.q.60">ing the sale of Louisiana [etc.]

To find these errors, I have been using Sigil's "Next Misspelled Word"-function, which generally works as I would expect. However, a few times now I have found that it will skip from one section to the next, even though there are still misspelled words farther down in the first section. Say that I am checking for errors in content-0020.xml, it will skip to content-0021.xml, even though there are still plenty of words underlined in red in content-0020.xml. Here's an example of where that happens:

<p class="gtxt_footnote" id="para.367.2.0.box.242.1770.999.79.q.40" style="text-indent:1em;"><sup>1</sup> Mémoire, etc., lu à l'Institut National le 15 Germinal, An v. (April 4, 1797).</p>


In section content-0020.xml the words "Mémoire, etc., lu à l'Institut" and "le" are all underlined in red. Clicking on the Next Misspelled Word button highlights each of them, one after the other, in blue - up to and including the word "à". If I click on the Next Misspelled Word button again, the spelling check skips to section content-0021.xml, ignoring "l'Institut" and "le", and a bunch of other red-underlined words farther down the page. If I insert the cursor after "l'Institut," the spelling check continues in content-0020.xml, instead of skipping to the next section - until, that is, I reach this line:

<p class="gtxt_footnote" id="para.384.2.0.box.226.1767.1003.72.q.50" style="text-indent:1em;"><sup>1</sup> Rapport à l'Empereur, 28 Brumaire, An xiii. (Nov. 19,1804); Archives des Aff. Étr. MSS.</p>

The words "à l'Empereur" are underlined in red. As before, "à" gets highlighted in blue, but when I click on the Next Misspelled Word button again, it skips to content-0021.xml, even though it hasn't reached the bottom of content-0020.xml yet. Again, if I insert the cursor after "l'Empereur," the spelling check continues in content-0020.xml, instead of skipping to the next section.
TheRealSteve is offline   Reply With Quote