View Single Post
Old 06-02-2023, 06:02 PM   #9
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,595
Karma: 9499994
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by TheSmitty View Post
I side loaded a book via calibre (using kobo extended touch) and the book has this problem. Problem being extra spaces after an apostrophe (example It' s instead of It's). It is a Kobo epub on my device. Very annoying. Seems to be the same for all side loaded books. Any help?
I am sure I responded in your other thread. I guess that thread was removed as a duplicate.

Open the ebook in the Calibre editor and check the spacing there. Is there additional spacing?

I guess whoever edited the ebook made a boo-boo with a regex and added an extra space.

You could remove it with a regex, something like...

Find ... ’\s(\w)\s
Replace ... ’\1 (with a space after the \1)

You might need to modify it so it takes into account commas or periods after the s.

Check the type of apostrophe in the regex matches the one used by the ebook.

Last edited by Karellen; 06-02-2023 at 06:18 PM.
Karellen is offline   Reply With Quote