View Single Post
Old 02-24-2012, 06:11 AM   #4
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by John123 View Post
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.

Last edited by Doitsu; 02-24-2012 at 06:31 AM.
Doitsu is offline   Reply With Quote