![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,847
Karma: 12000011
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
![]()
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"/> 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> Workaround: change <section to <div and </section to </div |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,652
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
It's not a weirdness. It's (IMHO) poor coding. It's not coded properly to be as backwards compatible with ePub 2 as it could be. <section> is from ePub 3 and is ignored in older versions of RMSDK. B&N is using an older version of RMSDK. To be more ePub 2 compatible, no class and no ID that's actually used should in in a <section>.
|
![]() |
![]() |
![]() |
#3 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,847
Karma: 12000011
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
Quote:
Still, the RMSDK is not handling it even that well. When it can't find the target of the #fragment it goes off into outer space. Some day I'll have to learn what's so great about EPUB3. |
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,847
Karma: 12000011
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
Hmm, in the B&N reader there is a lib for Readium.
I'm not sure how that all mixes with the RMSDK. |
![]() |
![]() |
![]() |
Tags |
bug |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
More Tapatalk weirdness | PeterT | Feedback | 5 | 08-19-2017 06:11 PM |
Four books in one--TOC help | katiesommer | ePub | 9 | 06-27-2013 09:45 PM |
360 SD Card weirdness | dxwt | PocketBook | 2 | 06-12-2011 07:04 AM |
Weirdness... | rakshi | Calibre | 14 | 03-14-2009 12:56 PM |
Multiple weirdness - can someone help? | hmgreen | Sony Reader | 0 | 07-25-2008 09:00 AM |