View Single Post
Old 02-24-2012, 12:25 PM   #5
John123
Connoisseur
John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40John123 is slicker than a case of WD-40
 
John123's Avatar
 
Posts: 82
Karma: 73150
Join Date: Feb 2011
Location: Scottish Highlands
Device: Samsung Note, Kindle, hudl2
Quote:
Originally Posted by Doitsu View Post
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.

Hi,

Thanks for the reply. I think the <a id="xxx"/> would work. On reflection, though, how could this link back to the index once the reader has "clicked" through to the page reference? Since there is now no visible reference in the text.

I have attached an .epub file showing a couple of chapters with an index taken from a previously published work. I have permission to do this. The note references work well and cross-ref. each other. However, doing this with the above proposition (ie, using the printed book index), shows nothing visible to "click" and, therefore, can't get the reader back to the electronic index easily.

In the .epub file I have shown the printed page numbers as:
<a id="xxx"></a>, where xxx is a three digit figure starting 001.

Have I grasped a hot coal, with a problem that's never been addressed in ebook's? Since I can't find anything sensible on WWW.

Thanks,

John.
Attached Files
File Type: epub From Tartan to Tartanry test.epub (36.2 KB, 325 views)

Last edited by John123; 02-24-2012 at 12:30 PM.
John123 is offline   Reply With Quote