View Single Post
Old 05-27-2021, 12:01 PM   #1
Detroa
Junior Member
Detroa began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2020
Device: Kobo
Adding "folders/categories" in a TOC

Hello everyone,

First of all, sorry if this has been asked already but I couldn't find a solution using the search feature.

I want to add some "titles/folders/categories" in my TOC without having them pointing to anything. I just want to add them to sort my TOC entries in a certain way. To make things clearer, here's what I wanna do:

>Chapter 1 (pointing to chapter1.xhtml)
>Title/folder/category 1 (not pointing to anything, just there for sorting purpose)
>>Chapter 2 (pointing to chapter2.xhtml)
>>Chapter 3 (pointing to chapter3.xhtml)
>Chapter 4 (pointing to chapter4.xhtml)

I tried to achieve this by simply placing my chapters 2 and 3 <navPoint> tags in a <navPoint> with <navLabel> and <text> but no <content> tag and it seems to be working (tested in ADE) but when I open the TOC in Calibre, a red dot appears instead of the usual green V next to the Title/folder/category 1 entry so I suspect my solution could be a problem on some devices.

Is there a better way to achieve this?

Thank you a lot in advance for your help.
Detroa is offline   Reply With Quote