03-08-2017, 04:30 AM | #31 |
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
@Doitsu
Sorry, I'm responsible for the missunderstanding. I remembered, what you wrote and that I have to change to "kepub.epub". And that I have to check all Kobo specific needs for epub3. My sentence in #29 was just a report, not a hidden question how to solve it. I wanted to separate the minimalization from the changes which are Kobo specific. But it was my fault, that I didn't communicate it clearly. With the extension "kepub.epub" the cover and the TOC are shown perfectly in the Kobo. Edit: When I remove the nav entry from spine the epub3 validates but it has an interesting effect in Kobo: The TOC just works fine. But the cover will not be shown. But please just regard that as note. I will discuss all Kobo specific issues in the Kobo forum. Last edited by ibu; 03-08-2017 at 04:40 AM. |
03-08-2017, 07:55 PM | #32 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Note that the replacement didn't have any pictures in it. Last edited by DaleDe; 03-08-2017 at 07:59 PM. |
|
03-08-2017, 10:40 PM | #33 |
Sigil Developer
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
|
The epub3 spec is unclear. All throughout the spec they talk as if the navdoc is a required separate xhtml file. No where I could find in the epub 3.01 spec did it say that it could be mixed into a more general xhtml file. That said, I could not find a clear line that the navdoc MUST be the only thing in that file either.
Given the navdoc is machine parsed by reading systems (but still usable for human viewing) I think it would be safest in its own doc with the nav property set in the manifest. |
03-09-2017, 03:00 AM | #34 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
For example: a) The four quasi-normative sample files linked to in the EPUB 3 Accessibility Guidelines all have separate NAV docs. b) All EPUB 3 Test Suite files have separate NAV docs. |
|
03-09-2017, 04:15 AM | #35 |
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
Thanks for the discussion about separating/not separating the nav.
Your arguments pro separating are convincing. One point please: How do you interpret the specs regarding the spine and the nav please? Must the nav.xhtml be an entry in the spine or not? I regard the case, where the user wants to see the TOC only, when he uses the "show TOC" function in his device. He doesn't want to see it as part of the normal content of the book. |
03-09-2017, 04:36 AM | #36 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
AFAIK, the NAV doc needs to be referenced in the spine.
Quote:
Code:
<itemref idref="nav" linear="no"/>
|
|
03-09-2017, 05:04 AM | #37 |
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
What a pity, that the specs are in some areas not clear. Well, I will insert the nav entry in spine, because otherwise Kobo will be "confused" (it does not show the cover, nor does the TOC work as I mentioned before).
I tried linear="no" - thanks for the hint, Doitsu. In Kobo it has no effect. Still the content appears via page forward/back buttons. And, as a note: the content of nav.xhtml will not be displayed like the content of content.xhml in Kobo. At nav.xhtml you find page margins. at content.xhtml you didn't. There's a lot work for me to do: I will change to the Kobo forum, to get help about all these "effects" of the Kobo software. Hopefully there's a way to realize the CSS rule page-break: before for headings in a Kobo. If not, my clean and simple concept of "one content file does it all" could not be used. As promised, I attached the complete minimal epub3 file in my first posting, to make it easy for readers to find the latest version. Last edited by ibu; 03-09-2017 at 05:18 AM. |
03-09-2017, 08:02 AM | #38 | |
Grand Sorcerer
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
I disagree. The EPUB 3 specification indicates that the NAV is not required to be in the spine. From EPUB Publications 3.0.1, Section 3.4.12 The spine Element:
Quote:
|
|
03-09-2017, 08:54 AM | #39 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
|
03-09-2017, 12:53 PM | #40 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Using the latest document on ADE I find that there are no images. The page numbers always refer to 4 of 4 no matter where you go. The first version is still the best version IMHO.
Dale |
03-09-2017, 01:35 PM | #41 |
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
@Dale
I'm not sure, what is a best practice for a minimal testcase. At the moment I tend to really use only valid code, conform to the specs. Only than one could see, which epub3 software does not show every part (cover, TOC) correctly or has serious bugs. ADE and Kobos Kepub software both fail with the minimal testcase. May be I should link a second epub file which contains "extra code to satisfy buggy rendering software". Thanks for your feedback. Good to know that not only Kobo fails, when the nav is not mentioned in the spine. What do you think is a good practice for a minimal testcase? |
03-10-2017, 02:27 PM | #42 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
I liked the depth of the first case. It intended to have a cover and an image inside. It had a toc and pages of text with various sizes and semantics. It covered the ground pretty well for what a eBook might look like.
Dale |
03-11-2017, 02:58 AM | #43 |
Addict
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
Thanks for your feedback, Dale.
The only difference in the actual version (linked in the first posting) and the other older versions is the entry for the nav in the spine in the opf file. And I removed the picture of the author inside the text, because I thought, that a picture in a book is optional. The most literature I read contains no pictures. So I thought it is OK for book testcase which wants to "minimal". The complete text/semantics are the same. And the cover, of course, is integrated. Some software may not display the cover or the TOC, because of bugs. I will soon attache an extra version of the epub3 testcase, which focusses on Kobo. Than I have to find out, if there's a way to let the Kobo software display more than one level in a TOC. Edit: Good news! The latest FW update of Kobo eliminated the bug with "not showing the cover" in my testcase. Now it is shown. Very nice. Attention! If you like to test epub3 files on a Kobo, you have to change the extension from ".epub" to ".kepub.epub". Last edited by ibu; 03-11-2017 at 05:47 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Plugin] ePub3-itizer - epub3 output plugin for Sigil | KevinH | Plugins | 435 | 01-19-2023 09:46 PM |
epub3 app with epub3 dictionary support | Doitsu | ePub | 0 | 01-21-2017 09:38 AM |
Epub3 XHTML Validation epub3 | Ramesh Arpitha | ePub | 5 | 06-30-2014 08:32 PM |
New Errors Converting epub3 -> zip -> epub3 | Lola25 | ePub | 2 | 11-12-2013 09:37 PM |
PRS-T2 Difference jailbreak.zip/rupor-jailbreak.7z & minimal-root-zeam.zip/rupor-minimal.7z? | hyperstruct | Sony Reader Dev Corner | 9 | 01-06-2013 02:05 PM |