I had an idea, don't know if it's feasible or not...
What if the source has <a id="calibrekindlepage###" />, that the creator can insert for the 'pages', could calibre identify them an use them rather than calculating the positions.
Would allow for exact 1:1 match to paper book.
Might take too long to loop through getting positions.
Just an idea.
|