Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 11-16-2012, 01:40 PM   #1
Small Elephant
Junior Member
Small Elephant began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2012
Location: Denmark
Device: kindle 2
how to create Table of Contents?

Hello all
I am new here at mobileread.

I have a Kindle 2 e-ink reader and I have downloaded some pdf books that I have converted to mobi so that I can read it on my Kindle. But I would very much like to get the Table of Contents feature to work and for the TOC to link to the actual chapters in the book.
I have downloaded and installed Calibre and tried to read the help section and looked at various youtube tutorials but I can't find anything explaining how to create TOC. I was able to create Table of Contents at the end of the book, but all the TOC links link to the first page of the book.
In Calibre I went into Convert Books - Outpu MOBI - Table of Contents - OK.

Can anyone tell me how in Calibre to get the Table of Contents to link to the chapters in the book?

Any help is very much appreciated.
Small Elephant is offline   Reply With Quote
Old 11-16-2012, 02:17 PM   #2
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 1,869
Karma: 4630362
Join Date: Dec 2010
Device: Kindle PW2
When you convert PDFs to .mobi the actual TOC information usually gets lost and needs to be re-created from scratch. I'd recommend converting the PDF to html or epub first. Then have a look at the html code that the chapter headings are enclosed in.

If all headings have a unique style (e.g. <p class="calibre77">Heading</p>), you might be able to get a TOC by specifying a regular expression in Calibre using the XPath wizard(s). (Preferences > Common Options > Table of Contents)

Alternatively you could open the .html or .ePub file with Sigil, and replace all heading <p>/</p> tags with <h3>/</h3> tags and have Sigil automatically generate a TOC. If it looks OK, you can generate an HTML TOC, save the file and compile it with Kindlegen or convert it with Calibre.

If you have more questions, post them in the Calibre, Sigil or Mobi forums.
Doitsu is offline   Reply With Quote
 
Enthusiast
Old 11-17-2012, 01:17 AM   #3
Small Elephant
Junior Member
Small Elephant began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2012
Location: Denmark
Device: kindle 2
Ok so I will:
1. convert PDF to html
2. replace headings and generate toc with Sigil
3. convert html to mobi with Calibre

Thanks for the help Doitsu, and next time I will post in the appropriate forums.
Small Elephant is offline   Reply With Quote
Reply

Tags
calibre, kindle, toc

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Table of Contents not being identified as Table of Contents openletter Conversion 2 10-19-2012 12:54 AM
Table of Contents stevej46 Conversion 0 08-06-2011 02:46 PM
Kindle: how create table of contents at the bottom line? ganymede Calibre 1 11-09-2010 01:43 AM
Create a table of contents? RobLikesBrunch Amazon Kindle 13 03-09-2009 07:59 PM
Is there a way to create a table of contents for notes timezone iRex 0 08-03-2008 03:54 PM


All times are GMT -4. The time now is 05:15 PM.


MobileRead.com is a privately owned, operated and funded community.