![]() |
#16 | |
male solipsist pig
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 102
Karma: 440818
Join Date: Oct 2010
Location: Moscow
Device: Nook Simple Touch→Kobo Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#17 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
I keep Calibre far away from my Kobo. I only use it directly for format conversion (Kindle to EPUB) and indirectly for some basic cleanup tasks.
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
male solipsist pig
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 102
Karma: 440818
Join Date: Oct 2010
Location: Moscow
Device: Nook Simple Touch→Kobo Aura HD
|
|
![]() |
![]() |
![]() |
#19 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
In short, I am the master of my ebook collection and choose not to cede that position to a piece of software that changes so often. |
|
![]() |
![]() |
![]() |
#20 | |
male solipsist pig
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 102
Karma: 440818
Join Date: Oct 2010
Location: Moscow
Device: Nook Simple Touch→Kobo Aura HD
|
Quote:
I agree there's too many updates to Calibre, by the way. |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,296
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Nothing says you have to install each and every release of calibre. Some in fact advise looking at the release notes and only upgrade if it shows a bug that affected you, or a new feature that you want.
|
![]() |
![]() |
![]() |
#22 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
What's the problem? Any epub that I have had calibre generate passes any validation that I've tried. And I've followed discussion here with lots of complaints about whet calibre generates, but only about the styles and formatting used, not about epub spec violation.
|
![]() |
![]() |
![]() |
#23 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,296
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Additionally I'm curious as to why a spec violation is an issue apart from a personal need to have something done a certain way. I know my interest is in being able to read a book and not worry about the minutiae of the innards of the book.
|
![]() |
![]() |
![]() |
#24 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
When I contacted the developer about this, complete with reference to the relevant part of the spec, he said that Calibre's behavior is due to the requirement that the depth is at least 1, and a null TOC would generate a value of 0 and thus be out of spec. When I pointed out that a null TOC is also out of spec, he got huffy and put me on his ignore list. So, now I use Calibre as little as possible and know to always decrement that value when I do so. |
|
![]() |
![]() |
![]() |
#25 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
In short, even if you have no direct interest in those minutia, it's ultimately in your best interests to have all the software generate proper, compliant ebooks. |
|
![]() |
![]() |
![]() |
#26 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,755
Karma: 168431891
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Checking with the EPUB 2.01 spec gives the following: "The list of required metadata provided in http://www.niso.org/workrooms/daisy/...5.html#NavMeta does not apply to EPUB; the only required meta is that which contains a content reference to the OPF unique ID. For backwards compatibility reasons, the value of the name of that meta remains dtb:id." The two sample toc.ncx files below are from the same epub with the <h?> tags in the second changed to <p> tags for the first. Code:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN" "http://www.daisy.org/z3986/2005/ncx-2005-1.dtd"> <ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1"> <head> <meta name="dtb:uid" content="urn:uuid:e721d553-4c20-4d56-8cb2-8ecb1d36900c" /> <meta name="dtb:depth" content="0" /> <meta name="dtb:totalPageCount" content="0" /> <meta name="dtb:maxPageNumber" content="0" /> </head> <docTitle> <text>Basic Book</text> </docTitle> <navMap> <navPoint id="navPoint-1" playOrder="1"> <navLabel> <text>Start</text> </navLabel> <content src="Text/coverpage.xhtml" /> </navPoint> </navMap> </ncx> Code:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN" "http://www.daisy.org/z3986/2005/ncx-2005-1.dtd"> <ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1"> <head> <meta name="dtb:uid" content="urn:uuid:e721d553-4c20-4d56-8cb2-8ecb1d36900c" /> <meta name="dtb:depth" content="1" /> <meta name="dtb:totalPageCount" content="0" /> <meta name="dtb:maxPageNumber" content="0" /> </head> <docTitle> <text>Basic Book</text> </docTitle> <navMap> <navPoint id="navPoint-1" playOrder="1"> <navLabel> <text>Chapter 1</text> </navLabel> <content src="Text/chapter1.xhtml" /> </navPoint> <navPoint id="navPoint-2" playOrder="2"> <navLabel> <text>Chapter 2</text> </navLabel> <content src="Text/chapter2.xhtml" /> </navPoint> <navPoint id="navPoint-3" playOrder="3"> <navLabel> <text>Chapter 3</text> </navLabel> <content src="Text/chapter3.xhtml" /> </navPoint> <navPoint id="navPoint-4" playOrder="4"> <navLabel> <text>Chapter 4</text> </navLabel> <content src="Text/chapter4.xhtml" /> </navPoint> <navPoint id="navPoint-5" playOrder="5"> <navLabel> <text>Chapter 5</text> </navLabel> <content src="Text/chapter5.xhtml" /> </navPoint> </navMap> </ncx> |
|
![]() |
![]() |
![]() |
#27 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#28 | ||
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,755
Karma: 168431891
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Quote:
Regards, David |
||
![]() |
![]() |
![]() |
#29 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
My read of the spec is that the TOC must contain at least one navPoint element; that is, it cannot be empty. This correlates with the requirement that the depth must be a positive integer; a TOC with only one navPoint element is "flat" by definition and thus has the minimum depth of 1.
|
![]() |
![]() |
![]() |
#30 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I did do some experiments. Nothing seemed to care what the depth was set to or if it was there. The only error I could get was from the Sigil validation if the navmap was missing or empty. Everything else didn't seem to care. In Sigil, if you empty the TOC and generate it from that, it creates the sample that DNSB posted. Doing the same in the calibre editor, puts in an empty navmap. In the viewers (ADE, calibre, Glo FW3.1.1), the Sigil version gives a one entry TOC with "Start". For the calibre version, they don't show a TOC. Most importantly to me, the Kobo firmware didn't care. I was expecting it to be fussy and reject one of the tests. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
a novel way to corrupt your database? | paola | Kobo Reader | 20 | 07-27-2013 03:18 PM |
Database corrupt | mwerth1 | Calibre | 4 | 08-07-2012 07:31 PM |
Corrupt database | tonyjbird | Introduce Yourself | 5 | 04-03-2012 06:26 AM |
Corrupt database | jjansen | Calibre | 4 | 10-26-2011 11:51 PM |
corrupt database, (powercut), possible solution | Perkin | Calibre | 7 | 09-19-2010 11:01 PM |