Ok, good news, I've managed to nail it down and get this plugin returning an exact same ADE page count. The only question which I need Kovid to answer is whether he also wants to incorporate the change into calibre's ebook viewer algorithm (in which case my plugin should have the same two choices it displays today) or whether he wants to leave calibre as is (in which case my plugin will offer three choices).
I'm sure he will answer this fairly quickly in which case I can push the new pages algorithm tomorrow. @Pierre - thx for prompting me to look into this...
|