Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-18-2022, 04:48 AM   #1
pierre71
Member
pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.
 
Posts: 17
Karma: 86818
Join Date: May 2022
Device: kobo libra 2
Nested table of content

Hi there !

I purchased a Kobo libra 2 and have issue creating a nested table of content.
This seems to be a common issue for books with lots of chapters such as the Bible.

This messages points to the kobo spec file that tells it should work for ebook v3
https://www.mobileread.com/forums/showpost.php?p=3432393&postcount=6

The document in itself gives details about how the nav should be done:
https://github.com/kobolabs/epub-spe...f-contents-toc
More details in:
https://www.w3.org/publishing/epub3/...ec-package-nav

I try to follow those doc and ended up with something like this:
Code:
<nav epub:type="toc" id="toc">
<h1>Table of Contents</h1>
 <ol>
      <li><a href="01-TOC.xhtml">Table Of Contents</a></li>
      <li><a href="02-Foreword.xhtml">Foreword</a></li>
      <li>
          <a href="03-Gen.xhtml">Genesis</a>
                 <ol>
                 <li><a href="03-Gen-001.xhtml">1</a></li>
                 <li><a href="03-Gen-002.xhtml">2</a></li>
                 …
                </ol>
      </li>
         …
 </ol>
</nav>
It display as intended in Sigil, but on the actual kobo device, the table of content is still flat.

The actual file validate and is available here:
http://87.106.205.222/test-epub/hb-18may-3.kepub.epub

Any idea If I am doing something wrong or if the kobo is not able to display embedded list other than as a flat list ?
pierre71 is offline   Reply With Quote
Old 05-18-2022, 07:45 AM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
As far as I can see, the ToC is working as designed. The ToC is displayed with each level indented a little further than the previous level.

But, you haven't actually said what is wrong. I suspect you think it should be able to expand and collapse the "trees". If so, Kobo does not do this on these devices.
davidfor is offline   Reply With Quote
Advert
Old 05-18-2022, 08:00 AM   #3
pierre71
Member
pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.
 
Posts: 17
Karma: 86818
Join Date: May 2022
Device: kobo libra 2
Oh right, I did not even notice the chapter number where indented a bit.
You are correct, what I feel is wrong is the inability to expand/collapse the tree in order to be able to look for a specific entry without having to scroll for hundreds of pages.

If the default Kobo reader does not allow this, any one know if Kaoreader or Platon propose such a feature ?
pierre71 is offline   Reply With Quote
Old 05-18-2022, 08:04 AM   #4
ps67
Guru
ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.ps67 ought to be getting tired of karma fortunes by now.
 
Posts: 755
Karma: 7025494
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Inkpad 4, Inkpad Color
Quote:
Originally Posted by pierre71 View Post
Oh right, I did not even notice the chapter number where indented a bit.
You are correct, what I feel is wrong is the inability to expand/collapse the tree in order to be able to look for a specific entry without having to scroll for hundreds of pages.

If the default Kobo reader does not allow this, any one know if Kaoreader or Platon propose such a feature ?
Koreader does it.
ps67 is offline   Reply With Quote
Old 05-18-2022, 09:30 AM   #5
pierre71
Member
pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.pierre71 has not lost his or her sense of wonder.
 
Posts: 17
Karma: 86818
Join Date: May 2022
Device: kobo libra 2
Quote:
Originally Posted by ps67 View Post
Koreader does it.
Indeed, it does. It's way more convenient this way. Thanks for the info.
pierre71 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Readability's Like Table Of Content ariefcfa Editor 6 12-14-2018 05:44 AM
KT3: nested (or even un-nested) document collections? milo1984 Amazon Kindle 1 12-24-2016 02:09 PM
The Grid TO - Need help with my table of content underwarez Recipes 4 05-25-2012 05:29 AM
Use my own Table of Content Kniebolo Calibre 1 10-22-2010 06:08 PM
Table Of Content tomcool420 Sony Reader Dev Corner 3 03-16-2008 12:14 PM


All times are GMT -4. The time now is 02:59 PM.


MobileRead.com is a privately owned, operated and funded community.