View Single Post
Old 03-17-2021, 12:56 AM   #3
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,053
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
You could look into using the epub page-list option. This is generally used to tie the page numbers in a specific physical edition to the equivalent locations in en epub ebook.

This section lives in the navigation document (this is from an epub3 nav.xhtml but pretty much the same can be done in an epub2 toc.ncx:

Spoiler:
Code:
<nav role="doc-pagelist" aria-label="Page list" epub:type="page-list">
<h2>Pagebreaks of the print version</h2>
<ol>
<li><a href="xhtml/cover.xhtml">Cover Page</a></li>
<li><a href="xhtml/title.xhtml#pg_v">v</a></li>
<li><a href="xhtml/epigraph.xhtml#pg_vii">vii</a></li>
<li><a href="xhtml/chapter1.xhtml#pg_1">1</a></li>
<li><a href="xhtml/chapter1.xhtml#pg_2">2</a></li>
<li><a href="xhtml/chapter1.xhtml#pg_3">3</a></li>
<li><a href="xhtml/chapter1.xhtml#pg_4">4</a></li>
<li><a href="xhtml/chapter1.xhtml#pg_5">5</a></li>
<li><a href="xhtml/chapter1.xhtml#pg_6">6</a></li>
<li><a href="xhtml/chapter1.xhtml#pg_7">7</a></li>
<li><a href="xhtml/chapter1.xhtml#pg_8">8</a></li>
<li><a href="xhtml/chapter1.xhtml#pg_9">9</a></li>
<li><a href="xhtml/chapter1.xhtml#pg_10">10</a></li>
<li><a href="xhtml/chapter1.xhtml#pg_11">11</a></li>
<li><a href="xhtml/chapter1.xhtml#pg_12">12</a></li>
<li><a href="xhtml/chapter1.xhtml#pg_13">13</a></li>
...
<li><a href="xhtml/chapter23.xhtml#pg_389">389</a></li>
<li><a href="xhtml/chapter23.xhtml#pg_390">390</a></li>
<li><a href="xhtml/adcard.xhtml#pg_ii">ii</a></li>
<li><a href="xhtml/adcard.xhtml#pg_iii">iii</a></li>
<li><a href="xhtml/copyright.xhtml#pg_vi">vi</a></li>
</ol>
</nav>


This connects to anchors in the text. I've pasted a few of them here:

Spoiler:
Code:
<p class="Ad-Card-Main-Head-acmh"><span aria-label="ii" id="pg_ii" role="doc-pagebreak"/>T<span class="ePub_ePub-SC">ITLES BY</span>

<h1 class="Chap-Number-cn" id="ch1"><span aria-label="1" id="pg_1" role="doc-pagebreak"/><a href="contents.xhtml#c_ch1">1</a></h1>

<p class="Text-Standard-tx"><span aria-label="2" id="pg_2" role="doc-pagebreak"/>And hers.</p>

...

<p class="Text-Standard-tx"><span aria-label="382" id="pg_382" role="doc-pagebreak"/>“Not them. My father, my brothers, the people he controls.”</p>



Note that this can be semi-automated in InDesign but the only time I built a page-list, it was a painful manual process. I lifted this example from Faithless in Death as one of the few ebooks I have that uses page-list.

You can check Page Navigation in the Daisy knowledge base and it's linked items. If insomnia is an issue, you can check the EPUB Navigation Document found in the EPUB Packages 3.2 documentation.
DNSB is offline   Reply With Quote