View Single Post
Old 03-04-2020, 09:53 AM   #1
svcoder
Junior Member
svcoder began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2020
Device: PBX
Issue with TOC while html to epub conversion

I have HTML book at folder. Also I have file toc.html, that contain links to all other pages and has tree-like structure with <ul><li> tags:
<ul>
<li><a href="part1.html">Part 1</a></li>
<ul>
<li><a href="sec1_1.html">Section 1.1</a></li>
<li><a href="sec1_2.html">Section 1.2</a></li>
</ul>
</li>
<li><a href="part1.html">Part 2</a></li>
<!-- and so on -->
</ul>

Now I use the following command:
ebook-convert.exe toc.html edt.epub --dont-split-on-page-breaks --no-default-epub-cover. Resulting epub contain first 50 entries from toc.html without any structure?
How can I make TOC for epub like toc.html?
svcoder is offline   Reply With Quote