View Single Post
Old 06-30-2024, 10:18 AM   #1
euriloco
Junior Member
euriloco began at the beginning.
 
euriloco's Avatar
 
Posts: 5
Karma: 10
Join Date: Sep 2010
Device: Kindle 3
Issue with Nested Divs in TOC on Kindle

Hi,
Sigil automatically generates the TOC with Tools > Table of Contents > Generate HTML from TOC.
The problem is that it generates a TOC structure with nested divs.
I am working with an epub that has 3 levels (h1, h2, h3) in the index, which results in the TOC having 3 nested divs.
The problem I have is that Kindle only supports 2 nested divs. If I add a TOC with 3 nested divs, Kindle displays it as if they are all at the same level (h1).
Is there any way to automatically generate the TOC without nesting divs?
Thanks
euriloco is offline   Reply With Quote