View Single Post
Old 12-18-2021, 01:16 PM   #419
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,028
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Epub format stores the TOC in metadata; any TOC that appears in the text pages, while somewhat common, is technically part of the book and not the 'official TOC' as such.

In contrast, other formats such as mobi and azw3 (kindle formats) store the TOC in a visible page, usually at the end of the book.

By default, EpubMerge combines the metadata TOCs together, nesting the original TOCs in a tree. That can be changed in in Epubmerge's config. There's also an option to flatten the TOC to a single level.

EpubMerge doesn't have any way to generate a consolidated in-text TOC like you describe. Calibre's own Conversion tool can, and you can do an epub->epub conversion. I haven't looked at how well that works and convert does sometimes change things more than you might like.
JimmXinu is offline   Reply With Quote