View Single Post
Old 01-28-2011, 07:35 AM   #9
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Hyphenated words are de-hyphenated by using your document as a dictionary. However if the word only occurs once in the book the hyphen won't be removed. At a guess, I think the word 'plugged' only occurs a single time in your book.

You can't write a reliable regex to fix that, as you noted with the Mercedes-Benz example - imagine if the line wrapped on Mercede-<linebreak>Benz - you can't delete that hyphen. This sort of thing really is far easier to fix in Sigil. Use Calibre Search and Replace for repeating occurrences throughout the book, use Sigil to clean up the one-off items after conversion.
ldolse is offline   Reply With Quote