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.
|