Quote:
Originally Posted by Galileo7
I don't see my exact issue here, but I'm new to the forum, so please excuse if it's been addressed!
The TOC's in the epubs I'm merging are fine - pretty much how I want them. But when I merge them, all the sub-entries are lost, and there's just one entry for each book. I've experimented with the EpubMerge plugin config settings, to no avail.
Here are a couple example files, if I do this right:
http://downloads.30bird.com/xfer/samples.zip
Calibre 2.65.1
EpubMerge 2.0.13
|
The metadata TOCs for the two epubs you attached only have one top-level entry each.
EpubMerge assumes if there's only one (top-level) TOC entry, that there effectively is no TOC and it can be left out in favor of just using the book only entry. Clearly, that's incorrect for your case.
Nested TOCs weren't high on my radar when that part was written, and complete ebooks with only one top-level TOC entry are rather rare--the target use case for EpubMerge is more merging existing ebooks than creating new ones. I might have time to figure out a real fix tomorrow evening, but it could be as late as next week.
In the mean time, you can step around the problem a couple different ways:
- Move the contents of the single top-level TOC entry to the top-level. If you turn on Insert Table of Contents entry for each title, you can remove previous top-level TOC entry.
- Add at least one more top-level TOC entry in each epub, pointing to anything, named anything, that you can then delete after merging.