12-06-2020, 11:55 AM | #1 |
Enthusiast
Posts: 25
Karma: 6052
Join Date: Jul 2013
Device: Kobo Touch and Mini
|
How to add to a TOC in MOBI/EPUB files?
I have some reference material on MOBI and EPUB but its such a pain to try to find a particular spot because the Table of Contents isn't broken down enough. How can I add more detail to the existing TOC or do I need to start a fresh one? On paper things are so easy to find because it usually tells you at the top/bottom of each page the page number and chapter so you always know where you are. As this doesn't exist on digital documents without breaking up the flow (though it could be displayed as an option when needed!), I think I need to redo the TOC.
It has to integrate with the paper version, unlike most ereaders' attempt at showing you the "progress" bar. You can spend several minutes looking for a particular spot on an ereader. This is by far their weakest area that really needs to be addressed. The problem may be people usually use ereaders for entertainment and not for learning. They get a book (often bought though millions are available for free if they venture away from Amazon, etc), read it and delete it. Its never read again. This is very profitable for the ebook seller! This is very expensive for the consumer! With good organization (the manufacturers wanting to encourage consumption don't make it easy to organize lots of books at a time on their devices with only one level of folders/collections/groups usually available), you can have quite a pile of books on your ereader. What we need is to be able to organize all our material on our computer, then transfer the entire thing to the ereader. Or link the ereader and do it from the computer. Organizing on the ereader is a tortuous pain. Last edited by mb2u; 12-06-2020 at 12:03 PM. |
12-06-2020, 02:07 PM | #2 | |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
For example: Code:
<h1>Chapter 1</h1> Code:
<p class="calibre7"><span class="calibre8">Chapter 1</span></p> Once all headings are formatted as h1..h6 tags, you can re-generate the TOC: a) Calibre Editor: Tools > Table of Contents > Edit Table of Contents > Generate ToC from all headings b) Sigil: Tools > Table of Contents > Generate Table of Contents. (Of course, you could also manually add/remove TOC entries in Calibre Editor or Sigil.) |
|
Advert | |
|
12-06-2020, 02:32 PM | #3 |
Enthusiast
Posts: 25
Karma: 6052
Join Date: Jul 2013
Device: Kobo Touch and Mini
|
I don't even see the "Calibre Editor" anywhere. I'm using version 5.6. Do I need to download Calibre Editor separately or is it in the main Calibre program? Using Win7.
And what is Sigil? |
12-06-2020, 02:44 PM | #4 |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
It comes with Calibre. To open it, right-click a book and select Edit book.
Sigil is a stand-alone epub editor. Here's the download link for the latest version. |
12-06-2020, 03:07 PM | #5 |
Enthusiast
Posts: 25
Karma: 6052
Join Date: Jul 2013
Device: Kobo Touch and Mini
|
Does this tell you anything? Its numbered on the left column. Here are the first 6 sections. "Matthew" is the name of the chapter.
<?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>MATTHEW</title> <meta content="http://www.w3.org/1999/xhtml; charset=utf-8" http-equiv="Content-Type"/> <link href="../stylesheet.css" type="text/css" rel="stylesheet"/><style type="text/css"> |
Advert | |
|
12-06-2020, 03:29 PM | #6 |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
That's just the preamble. The actual text starts somewhere after the <body> tag. For example:
Code:
<xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <p>This is the first paragraph.</p> American Bible Union King James Others Last edited by Doitsu; 12-06-2020 at 03:33 PM. |
01-09-2021, 02:06 AM | #7 | |
Bookmaker & Cat Slave
Posts: 11,494
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiple HTML files w/ TOC to MOBI, not added in order listed in TOC | dysfunction | Conversion | 3 | 01-03-2014 01:40 AM |
mobi to epub toc | nlundberg | Conversion | 0 | 07-12-2013 06:42 PM |
Can't add TOC link to MOBI file!!! | karenbryant | Calibre | 3 | 09-16-2012 10:04 AM |
ePub TOC to mobi TOC | edmnddntes | Conversion | 5 | 01-24-2011 03:56 AM |
Is there a way to add only mobi files? | carld | Calibre | 6 | 10-04-2010 02:00 PM |