|
|
#1 |
|
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,055
Karma: 2784905
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
Epub to Mobi & TOC
|
|
|
|
|
|
#2 |
|
Comparer of the Ephemeris
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,183
Karma: 58793
Join Date: Mar 2009
Device: iPad
|
In the .opf file, add this section:
Code:
<guide> G |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,055
Karma: 2784905
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
Yeah, no. I'm not going to do that for 500 books. Besides, the Epub toc isn't a html file; it's the toc.ncx file. What you suggest isn't going to help.
|
|
|
|
|
|
#4 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,195
Karma: 2508097
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon
|
Shouldn't it include the TOC by default?
--no-inline-toc Don't add Table of Contents to end of book. Useful if the book has its own table of contents. There doesn't seem to be a reverse option, maybe you have --no-inline-toc in your default settings somewhere? |
|
|
|
|
|
#5 |
|
Comparer of the Ephemeris
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,183
Karma: 58793
Join Date: Mar 2009
Device: iPad
|
Sorry if I misunderstood your objective. Adding the <guide> section makes an existing TOC accessible in a MOBI file. For example, with the Kindle, it enables the 'Table of Contents' feature when you press 'Menu' in a book. Calibre uses the TOC.NCX file to specify where the chapter breaks will occur on the Kindle.
Generating the actual TOC content is a different matter. Your question suggested that you wanted to use an existing TOC. G |
|
|
|
|
|
#6 |
|
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,055
Karma: 2784905
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
I'm using the GUI. The only thing I had checkboxed was "don't add detected chapters to the toc". I left that unchecked when I converted several titles last night and it had no effect. And just to be clear, I know that the Epubs had a toc. I looked.
|
|
|
|
|
|
#7 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,652
Karma: 14439052
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
|
Are any of the ePubs in question able to be posted here so we can take a look?
__________________
|
|
|
|
|
|
#8 |
|
Comparer of the Ephemeris
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,183
Karma: 58793
Join Date: Mar 2009
Device: iPad
|
One other thing to check ...
Is the toc.html file listed in the manifest and spine sections of the OPF file? G |
|
|
|
|
|
#9 |
|
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,055
Karma: 2784905
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
I'm not talking about a html file, or an inline toc. But if I were, I said that I knew the TOC was in the Epub. That means I saw it. If the inline toc is in the Epub, then it is obviously named in the OPF file.
|
|
|
|
|
|
#10 | ||
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,195
Karma: 2508097
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon
|
Quote:
Quote:
|
||
|
|
|
|
|
#11 |
|
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,055
Karma: 2784905
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
|
|
|
|
|
|
#12 |
|
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,055
Karma: 2784905
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
I filed a bug report. Kovid said not to use "Kindle" as an output setting, which didn't help because I wasn't using it. I tried other settings like "Cybook G3" and "Mobipocket Books". Neither Mobi had a toc.
|
|
|
|
|
|
#13 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,652
Karma: 14439052
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
|
I just converted the following two ePubs to Mobi and they both came out fine.
The Secret Adversary http://www.mobileread.com/forums/showthread.php?t=53913 The Mysterious Affair at Styles http://www.mobileread.com/forums/showthread.php?t=54721 The only thing that didn't convert well was the SVG cover used in The Mysterious Affair at Styles.
__________________
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Best Practices for TOC in Mobi | ldespain | Mobi | 11 | 09-25-2010 08:54 PM |
| Hellenistic Astronomy e-book (ePub & Mobi) | amoroso | Deals, Freebies, and Resources (No Self-Promotion) | 11 | 09-20-2010 06:21 AM |
| epub->mobi & kindle navpoints | dmaddock1 | Calibre | 1 | 09-04-2010 10:43 AM |
| Mobi TOC style vs ePub style? | phearlez | Mobi | 3 | 04-11-2010 06:35 AM |
| Pragmatic Programmers announce Epub & Mobi support | ghchinoy | News | 8 | 04-03-2009 01:36 AM |