Quote:
Originally Posted by murraypaul
Would it be possible to have an option to disable including the original books' TOC as nested entries under the new TOC, and just to have top level entries, one per book?
Some readers (Kobo for example) don't handle nested TOCs well, and just show the entire structure as one long list, which can make it very awkward to jump to specific books.
I've tried the current -n and -f flags, but they don't do what I'm looking for. I'm sort of looking for the opposite of -n, say --only-titles-in-toc.
|
Quote:
Originally Posted by JimmXinu
As you figured out, EpubMerge does not have such an option right now.
I could add such an option, but if it's a common problem with Kobo, I wonder if there isn't an existing solution? Or if there should be a general tool for it instead of an EpubMerge option? Or an enhancement to Calibre's Edit TOC tool?
(Do you really use EpubMerge from CLI? I didn't know anyone did that...)
|
(And I didn't know one existed!)
The Kobo devices shows all the ToC entries but doesn't display any nesting or have a way to collapse anything in the ToC. Personally, I think the navigation will be a lot worse if you cut out the chapters inside the book. And it will definitely cause a problem if kepubs are used instead of epubs. I have to admit that I shuddered when @murraypaul said what was planned in the Kobo forum. He will be merging whole series into a single book on the belief that this will make navigating the UI better than having them separate. I've spent to much time using Epub Split to be able to agree with the
This could be done with the calibre ToC tool. But, it would need someway to identify which entries to keep. Either it needs nesting via heading level, or something in the text or tag. Or, manually by selecting the files to create the tags for. Or letting the tool generate the default and deleting parts you are not interested in.
But, looking at the configuration for Epub Merge, an option for "Do not include ToC from merged books" might be the way to go. That plus the existing "Insert ToC entry for each title" would do what is desired. I suppose that's the equivalent of the suggested "--only-titles-in-toc" but it feels like it is more consistent and a little more flexible.