![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 109
Karma: 1544
Join Date: Jul 2020
Location: Paris
Device: quite a few Kindles...
|
table of contents in merged EPubs ?
Hello.
If I want to merge quite a few "heavy" EPubs (for instance assembling the "Complete Works" of a given writer), it can become really difficult, when reading the EPub thus obtained, to find one specific work in it. The only way I managed to work around this issue (and it's not a very good and efficient one) is to then convert to Word and back to EPub, because Word will usually add a "Summary" section at the beginning that will link to the various parts, but it tends to mix books with parts and chapters and it can become a mess. So my question is simple : is there a way to create/include a table of contents (an optional one, that is, it's not needed for all merged EPubs) at the beginning of EPubs merged with EPubMerge, the like of what one finds at the beginning of many e-books (like a list of chapters in many commercial EPubs, or a more detailed table with various degrees and subdivisions like in Delphi collections for instance) ? Thanks a lot in advance for any help. |
![]() |
![]() |
![]() |
#2 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 771
Karma: 1537886
Join Date: Sep 2013
Device: Kobo Forma
|
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). |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,889
Karma: 4604435
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
The EpubMerge plugin does not have an ability to add an in-line TOC. Nor am I really interested in adding one.
As enuddleyarbl pointed out, Calibre's built-in ebook Edit feature can insert an in-line TOC in your (merged) EPUB. I did a little bit of testing and found:
While EpubMerge works very hard to change as little as possible, Calibre Convert re-writes basically everything. For many (most?) ebooks this is invisible, but it can sometimes cause problems. The only reason to favor inserting TOC with Convert instead of Edit is because you can do it to any number of ebooks at once. |
![]() |
![]() |
![]() |
#4 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 109
Karma: 1544
Join Date: Jul 2020
Location: Paris
Device: quite a few Kindles...
|
Thanks very much, I'll try both options.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moon Reader, converted epubs and Table of Contents | darryl | Reading and Management | 1 | 12-15-2014 04:12 AM |
Moon+ Reader won‘t read merged epubs | yakuri-moe | Android Devices | 0 | 06-29-2013 09:09 AM |
Table of Contents not being identified as Table of Contents | openletter | Conversion | 2 | 10-19-2012 12:54 AM |
Table of Contents | ucoa | Calibre | 1 | 01-07-2011 09:01 PM |
Can ePubs be merged? | Elfwreck | ePub | 10 | 03-12-2010 07:08 PM |