Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
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
Old 03-04-2020, 08:23 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://manual.calibre-ebook.com/con...le-of-contents
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EPUB to HTML: Conversion issue littlevet9 Conversion 1 10-25-2014 05:28 PM
HTML to Epub conversion isn't generating TOC through command line marcosalles Conversion 1 02-20-2014 10:09 PM
html to kindle conversion, adding TOC when i already have one mrannah Conversion 6 06-24-2011 02:31 AM
HTML Book + non HTML TOC to epub aarcane Calibre 4 03-02-2010 02:58 AM
HTML to LRF conversion issue, w/libprs500 adr2689 Workshop 7 03-09-2008 01:21 PM


All times are GMT -4. The time now is 09:12 AM.


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