View Single Post
Old 09-14-2015, 05:44 AM   #11
newman
homo viator
newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.
 
newman's Avatar
 
Posts: 77
Karma: 252594
Join Date: May 2010
Device: Kindle DXi with 3.4.2 firmware, Kobo Glo HD
Kovid: I found a python-pyphen package which does what's needed for hyphenation. So far it seems to me as easy as: http://pastebin.com/3tSEsD13

Where do I start? Looking at calibre/src/calibre/gui2/convert/mobi_output.py it looks to me as a building block for GUI not a part of a code meant to fiddle with ebook text. Also I guess I have to alter the text when converting to AZW3 not MOBI, right?
newman is offline   Reply With Quote