View Single Post
Old 04-13-2020, 01:39 AM   #10
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by raghiid View Post
Oddly, I've found that if I hyphenate before converting to azw3, the page count that calibre inserts does not show up in the book.
That seems to support my recommendation to do the hyphenation last Get the book right, convert to AZW3 and then run the Hyhpenate This! plugin on the AZW3 version only. Though I don't know if that can be done as I don't use the plugin. I remember trying it and found it caused more problems than it solved.

As to Kovid's short reply, that was the search string to find all an occurrence of "f" followed by a soft-hyphen (using the unicode value for the character) and then an "i". Put that into the the find field, change the mode to "Regex" and press the find button. That will find the problem.

If what you want to do is remove all the occurrences of "fl" and "fi" with a soft-hyphen in the middle, you could use the search:

Code:
(f)\u00ad([il])
With replace:

Code:
\1\2
And again in Regex mode. Either do a find and then replace, or use "Replace all" to do it in one go.

Of course, if the Hyphenate This! plugin is putting a hyphen between these characters it could be a bug in that plugin. Maybe you should ask the plugin's author about this.
davidfor is offline   Reply With Quote