Quote:
Originally Posted by John123
My next question is how would you code the old page number into the text, so that it is unseen, since most will inevitably land in the middle of sentences, then link back to the index file?
|
You could simply add
<a id="xxx"/> anchors, which can be placed even in the middle of a sentence and are invisible. Each index entry would then need to contain a hyperlink to the page number anchor that you inserted in the text.
If page numbers are very important to you, you could also implement
Adobe's page map extension.
However, page maps are only supported by ADE-compatible readers, and ePubs containing them
will fail ePub validation.
I.e., if you plan to release your book commercially, you may want to avoid page-maps since they're not part of the ePub standard and many ePub aggregator sites will reject ePubs with page-maps.