I don't know if it can be done in EpubMerge and I'm not sure if this is what you're looking for. But, in the Calibre Editor > Tools > Table of Contents, you can Edit the TOC and insert an inline version of it. The problem is that it would overwrite anything you already have as that TOC and you'd have to make sure your book is set up to be automatically TOCized using those tools.
For me, under Edit Table of Contents, I use the Generate TOC from all Headings" option. But, I make sure the title of the book on the title page (not the cover page) is set as an <h1> heading. Then if there are any sections in the book, their titles are given <h2>s and the chapters are given <h3>. Without sections, the chapters get <h2>. Then I use the "Insert Inline TOC" to put a copy of the toc at the front of the book for easy access.
In your case, I'd guess the compilation title page would be given that <h1>, each book's title page <h2>, any sections <h3> and any chapter <h4>. But, there are other ways to do it Also, the Edit TOC thing can generate TOCs from links and files (as well as XPath, but I don't know what that is).
|