View Single Post
Old 05-19-2024, 12:37 PM   #1
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,973
Karma: 18026955
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Angry Weirdness in TOC on some books

I've been reading "Restricted Data", Alex Wellerstein from my library.
There's weirdness going on with the Table of Contents.
It's related to Part and Chapter divisions.
Internally the page numbers for these major divisions is higher than the content immediately following.
This shows up by displaying the wrong part/chapter/section.

Have you ever run into this? It can be confusing.

The problem is the links in toc.ncx:
Code:
<content src="chi-wellerstein-0007.xhtml#pt01"/>
Which points to:
Code:
    <section aria-labelledby="headerpt0101" class="chapter" epub:type="part" id="pt01" role="doc-part">
      <header id="headerpt0101">
        <h1 class="pn"><span aria-label="12" class="page" id="p12" role="doc-pagebreak"/><span aria-label="13" class="page" id="p13" role="doc-pagebreak"/><a class="xref" href="chi-wellerstein-0005.xhtml#toc">PART I</a></h1>
        <h1 class="pt">THE BIRTH OF NUCLEAR SECRECY</h1>
      </header>
    </section>
Apparently the Adobe RMSDK used by B&N does not understand id inside section or maybe just section.

Workaround: change <section to <div and </section to </div
Renate is offline   Reply With Quote