![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 1001024
Join Date: Apr 2010
Location: Cornwall, UK
Device: Various Sony Readers, Kobo Touch Edition, iPhone
|
Page numbers wrong in TOC
The attached .epub is automatically generated using pandoc.
https://github.com/greyscalepress/manifestos On my Mac it is fine, using Calibre viewer, with the TOC items jumping to the correct chapter and page. However, on my Sony Reader the page numbers listed next to items in the TOC are those for the following chapter. Tapping on an item in the TOC jumps me to the page number display, but that's the following chapter. Otherwise the epub opens and reads just fine. I suspect there is a problem with the epub that is causing my Sony Reader to misbehave. Any ideas why this might be? Thoughts appreciated. Thanks! Last edited by gingerbeardman; 12-07-2021 at 01:08 PM. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 1001024
Join Date: Apr 2010
Location: Cornwall, UK
Device: Various Sony Readers, Kobo Touch Edition, iPhone
|
The epub opens and reads just fine on my Sony.
It's just the TOC links that are wrong. Is this symptomatic of lack of support for epub 3 in your experience? |
![]() |
![]() |
![]() |
#4 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,473
Karma: 152905840
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Are you using the links in the nav.xhtml file as an in-line ToC or are you using the toc.ncx (unneeded by epub3 but often included for epub2 compatibility)?
|
![]() |
![]() |
![]() |
#5 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 1001024
Join Date: Apr 2010
Location: Cornwall, UK
Device: Various Sony Readers, Kobo Touch Edition, iPhone
|
The photo above is the Reader's own user interface TOC display. I'm not sure which it represents.
But the inline links on the TOC nav page (page 2, iirc) also exhibit the same behaviour. I'll generate an epub2 later on and see if that makes a difference. Last edited by gingerbeardman; 12-07-2021 at 02:23 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,553
Karma: 14325282
Join Date: Nov 2019
Device: none
|
I'd be curious to see how it works if you take your epub that you got from pandoc and open it in sigil and in sigil go to the Tools menu and go down to Epub3 Tools and select Generate NCX/Guide for epub2 e-readers, then save it and open that on your Sony.
https://sigil-ebook.com/sigil/download/ |
![]() |
![]() |
![]() |
#7 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 1001024
Join Date: Apr 2010
Location: Cornwall, UK
Device: Various Sony Readers, Kobo Touch Edition, iPhone
|
I have Sigil so it sounds like some real testing is needed.
I'll do it soon. |
![]() |
![]() |
![]() |
#8 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 129
Karma: 1001024
Join Date: Apr 2010
Location: Cornwall, UK
Device: Various Sony Readers, Kobo Touch Edition, iPhone
|
Results of the test...
TOC links lead to unexpected destination: - epub3 - epub3+sigil TOC links behave as expected: - epub2 So, I'd like to understand why this is happening if possible? Using Calibre's ebook-edit compare books feature: for this book I can see only one meaningful difference between epub2 and epub3. nav.xhtml: - epub2 uses a container div, id="toc" - epub3 uses a container nav element, type+id="toc"; and a secondary nav element, type+id="landmarks" |
![]() |
![]() |
![]() |
Tags |
epub, sony 650, toc, toc problem |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Clara HD Page numbers in wrong spots | walhir | Kobo Reader | 10 | 05-18-2020 08:54 AM |
Page numbers wrong on Kobo!! | cabal2000 | Kobo Reader | 8 | 01-05-2019 09:26 AM |
wrong page numbers when quoting academic texts | Wayness13 | Which one should I buy? | 8 | 01-15-2013 03:59 AM |
Kindle 4 NT, wrong time and page numbers | dove_g | Amazon Kindle | 7 | 04-06-2012 08:34 PM |
Calibre getting page numbers wrong in conversion to epub. | WendyH | Conversion | 9 | 09-04-2011 05:29 AM |