View Single Post
Old 09-23-2014, 11:18 PM   #2
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
You have the easy bits. The extended driver and output plugin also change the code in the epub. Without these changes, bookmarking and reading positions don't work. When you reopen a book, it will always open to either the start of the book, or the start of the chapter you were reading.

The changes needed are to wrap a span around each sentence. The span has a particular class and a unique id. The spans do not affect the display of the book, but make the positioning system work. You can look at a book that has been converted, or a purchased kepub without DRM to see what is done.
davidfor is offline   Reply With Quote