07-28-2017, 01:47 PM | #31 | |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
07-28-2017, 02:02 PM | #32 | |
Bibliophagist
Posts: 35,418
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Looking at the kobolabs epub information kobolabs/epub-spec , Kobo's CMS will add files listed in the spine to the ToC for epub2 files if there is no existing toc.ncx file. For epub3, an existing nav.html (should be nav.xhtml) will be used followed followed by toc.ncx and finally, if toc.ncx does not exist, the ToC will be generated from the spine listing. Given that the epub2 spec requires a toc.ncx and the epub3 spec requires the navigation document, adding spine files to the ToC should never occur for a standards compliant epub. |
|
Advert | |
|
07-28-2017, 04:48 PM | #33 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
I will be away for about 8 days starting tomorrow.
|
07-28-2017, 10:11 PM | #34 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
The Kobo publishing routine make sure this that the generated kepubs match their standards. But, none of the ways of generating kepubs for sideloading make sure of this. I think they are close, but none make sure the ToC is complete. |
|
07-28-2017, 11:03 PM | #35 | |
Bibliophagist
Posts: 35,418
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
Advert | |
|
07-28-2017, 11:27 PM | #36 |
Wizard
Posts: 1,142
Karma: 5061953
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
|
Regardless how how you read it, if this is not done, the books glitch in Kobo.. (For that matter, as of the latest batch of releases, books without a complete ToC also glitch in the Epub reader, but that's a different issue. I can safely call that one a bug.. But Kepub needing a ToC entry for every file has been 'as designed' since forever.)
|
07-29-2017, 12:08 AM | #37 | |
Bibliophagist
Posts: 35,418
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
**For ePub 2.0.1**, Kobo reading platforms populate the ToC menu in the book with the ToC from the file toc.ncx (which is in navMap). However, if the toc.ncx is not present, the TOC menu is populated by the Spine listing in the OPF. When an OPF-spine item is not listed in the TOC.ncx, the Kobo CMS will create a listing for it using the filename or the opening words from the section. This listing will be displayed to the user in the TOC Menu across all reading platforms. This process may be removed in a future release. ePubs that use a nav.html TOC will not be impacted. **For ePub 3.0**, Kobo platforms will read the ToC from the ToC table in the nav.html file. When a ToC table is not present, the next available table will be used. If the nav.html is not present, it will populate the ToC with the toc.ncx. If the toc.ncx is not present, it will populate the ToC with the spine listing in the OPF. Edit: I generated two kepubs from an epub3 with a complete and incomplete ToC in both the nav.xhtml and toc.ncx files. I did not notice any issue with page counts in the non-listed files as compared to the version with the "complete" ToCs. Last edited by DNSB; 07-29-2017 at 12:13 AM. Reason: add experimentation results |
|
07-29-2017, 08:29 AM | #38 |
Groupie
Posts: 163
Karma: 35750
Join Date: Jul 2017
Location: Poland
Device: PocketBok Era, Kindle Oasis 3, Bookeen Diva HD
|
I can't see any converted kepub files in my Aura H2O (firmware 4.5.9587) as well. Converted under Windows 10 using both 32bit and 64bit curren versions. This free e-book for example: http://zajdel.art.pl/publikacje/zajd...antologia.epub
|
07-29-2017, 09:04 AM | #39 | |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
07-29-2017, 09:10 AM | #40 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
If anyone has any solid ideas, please feel free to post them here, or open a Pull Request on GitHub. Some places to start mightbe modyfing the generated kepub's TOC. Also, if it is missing a container.xml, please tell me. I have had quite a few instances of missing container.xml s when converting on windows. Also, try converting with the linux version through bash on windows.
Sorry for the inconvenience on windows so far, I will fix this as soon as possible (starting next week). Last edited by geek1011; 07-29-2017 at 09:13 AM. |
07-29-2017, 09:24 AM | #41 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
And if anyone uses Linux, to build this, just install golang, set your GOPATH env variable to a empty folder in your HOME, type 'go get github.com/geek1011/kepubify', and then you can modify the code. To build it, cd to $GOPATH/github.com/geek1011/kepubify and run 'make'. The output will be in '$GOPATH/github.com/geek1011/kepubify/build/kepubify'.
Sent from my XT1527 using Tapatalk |
07-29-2017, 09:28 AM | #42 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
I also have another tool I am working on, which I have tested the features so far: https://github.com/geek1011/epubtool. It can pack, unpack, and validate epubs so far, and it may be useful when testing kepubify. I have tested it on Linux.
Example usage: epubtool unpack /path/to/book.epub epubtool pack /path/to/epub epubtool validate /path/to/packed/book.epub Sent from my XT1527 using Tapatalk |
07-29-2017, 10:34 AM | #43 |
Addict
Posts: 205
Karma: 2595216
Join Date: Aug 2011
Device: Clara 2E, Glo HD
|
Just wondering...is the 32bit version supposed to work with Windows XP? It would not work here. The error message says "...not a valid Win32 application"
(And yes, I know that I am a Luddite) |
07-29-2017, 11:02 AM | #44 | |
Wizard
Posts: 1,142
Karma: 5061953
Join Date: Jun 2011
Location: Ontario, Canada
Device: Kobo Aura HD
|
Quote:
Ah.. .I've never tested with Epub3, only 2. I did not expect it to make quite that much of a difference, but I should have clarified in my earlier post. As for the glitchiness I mentioned with epub, it's the search that doesn't work. The search results are unable to 'jump' to the any results that reside in a file not in the ToC. For testing of Kepub, the Non-toc files have to be inter-spaced with toc listed files. You will not notice the behaviour if there is only a single Toc list for the first file, or first half of book even. Also, you have to display progress for the whole book. There is no issue with Book progress per chapter, other than the little chart of chapter bar graph being off on current reading position. Last edited by rashkae; 07-29-2017 at 11:06 AM. |
|
07-29-2017, 12:33 PM | #45 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
|
Tags |
conversion, epub, kepub, tool |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura H2O Font size mismatch (downloaded epubs via Calibre vs. Kobo epubs & articles) | Oolong | Kobo Reader | 36 | 01-25-2019 06:00 AM |
Tool to automatically download and check epubs | skreutzer | Workshop | 26 | 12-14-2015 12:28 PM |
Touch Problem with all epubs, my epubs, or my kobo? (line clipping) | plague006 | Kobo Reader | 14 | 12-02-2011 11:32 PM |
Epub check tool: ePubs do not pass | Portnull | Calibre | 32 | 11-04-2009 08:27 AM |