02-27-2012, 04:51 AM | #1 |
Member
Posts: 24
Karma: 10
Join Date: Jan 2012
Device: kindle 4
|
Problem with the Table of Contents of the mobi file
I have a problem with the Table of Contents of the mobi file.
I use the CLI "ebook-convert a.html a.mobi --level1-toc //h:title" to convert html file to mobi file,but when I click on the middle button of the navigation key on my kindle,there is no table of contents on my kindle screen,I just can find the table of contents in the end of the mobi file. The table of contents shoud appear on my kindle screen when I click on the middle button of the navigation key,but it does't work. Who can throw some light on it? What should I do ? |
02-27-2012, 07:43 AM | #2 |
Tweaker
Posts: 102
Karma: 324366
Join Date: Jan 2012
Location: Scotland
Device: Kindle / KOBO / PC
|
Bought *.anz, or home made/sepreately aquired mobi?
I can answer your question, but the two are mutually exclusive.... If you bought it, complain. If you made it, it is a common conversion error, which can be sorted. |
02-27-2012, 10:05 PM | #3 |
Member
Posts: 24
Karma: 10
Join Date: Jan 2012
Device: kindle 4
|
Anyone in here?who can help me?I think there are some other CLI to make it well. But,what is it?
|
02-27-2012, 10:52 PM | #4 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
I'm not sure, but h:title looks like it only selects the title which would not produce much of a TOC.
You could try selecting the default "auto" TOC: Code:
ebook-convert a.html a.mobi Code:
ebook-convert a.html a.mobi --use-auto-toc Code:
ebook-convert a.html .mobi --output-profile kindle --chapter "//*[name()='h1' or name()='h2' or name()='h3']" Code:
ebook-convert a.html .mobi --output-profile kindle --chapter "//h:p[name()='h1' or name()='h2' or name()='h3']" |
03-01-2012, 10:28 PM | #5 | |
Member
Posts: 24
Karma: 10
Join Date: Jan 2012
Device: kindle 4
|
Quote:
That's really a difficult problem. |
|
03-03-2012, 07:11 AM | #6 |
Member
Posts: 15
Karma: 910
Join Date: Jun 2011
Device: kindle
|
I've never been able to generate the "mid-button" click toc (it is called list of all articles, I believe).
As described in calibre manual, the mobi toc is the one added to the end of the book. And you open it by menu->go to->table of contents |
03-04-2012, 05:12 AM | #7 |
Member
Posts: 24
Karma: 10
Join Date: Jan 2012
Device: kindle 4
|
OMG!That's so awkward.And how to set the "list of all articles" by CLI?
|
03-04-2012, 12:42 PM | #8 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
There was a detailed post some time ago which discussed TOC in mobi books. Here's a link.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extract table of contents from mobi file | oecherprinte | Kindle Formats | 7 | 04-16-2012 12:10 PM |
ePub or HTML to Mobi Table of Contents problem | Dark123 | Conversion | 2 | 05-08-2011 03:43 PM |
Table of contents problem converting from mobi to epub | dlmecum | Calibre | 7 | 01-21-2011 07:07 PM |
Table of Contents RTF > MOBI | daxmon87 | Calibre | 12 | 10-09-2010 12:46 AM |
Table of Contents - html to Mobi problem | thames | Calibre | 3 | 06-02-2010 07:24 PM |