View Single Post
Old 05-30-2012, 04:59 AM   #9
pirl8
Pest
pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.
 
Posts: 190
Karma: 239254
Join Date: Jan 2012
Location: Italy
Device: KT, KPW
Ok, following your directions i've find where to start looking on calibre site.

I've never programmed Python and this could be a good opportunity to begin. I've given a quick look around and i see there are python classes for parsing (x)html and to implement hyphenation, so it shouldn't be that hard.

My idea is to do something very simple: parsing html, adding softhypens to text according to the book language, saving.

Thank you very much for Calibre. I love it.

P.S.

Is a plugin doing something similar already there so I can learn from it?

Last edited by pirl8; 05-30-2012 at 05:02 AM.
pirl8 is offline   Reply With Quote