Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-02-2014, 02:37 PM   #1
Jorge24
Junior Member
Jorge24 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2014
Device: Kindle Keyboard
Setting the location of the Table of Contents

I'm using the Kindle Keyboard.

I made my own table of contents on a html document so when I converted the html to MOBI I checked the option "do not add table of contents to book" to avoid creating a duplicate TOC.

My problem is that when I go to my Kindle, press the Menu button and then select "Go to" the option to go to the table of contents is greyed out.

I guess this is happening because Calibre never made the necessary adjustments to make the Kindle detect that there is a table of contents.

Is there any way to manually set the location of the table of contents when converting to MOBI?
Jorge24 is offline   Reply With Quote
Old 10-02-2014, 02:46 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Open the ebook in the calibre editor, and use the "Set semantics" tool to confirm that a ToC is defined in the <guide>.

IOW, if you are starting from HTML instead of EPUB, you have no OPF <guide> and will have to manually set it from the EPUB.
eschwartz is offline   Reply With Quote
Advert
Old 10-02-2014, 02:54 PM   #3
Jorge24
Junior Member
Jorge24 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2014
Device: Kindle Keyboard
I tried editing the MOBI but it seems like Calibre doesn't support editing MOBI files. I then converted the html to AZW3 but after I opened it in the editor it said that semantics are not supported in AZW3 files. Is there a way to do this without the editor?
Jorge24 is offline   Reply With Quote
Old 10-02-2014, 02:55 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Why don't you just convert the HTML to EPUB and use that as the master ebook, before converting to MOBI or AZW3 as you wish?
eschwartz is offline   Reply With Quote
Old 10-02-2014, 03:14 PM   #5
Jorge24
Junior Member
Jorge24 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2014
Device: Kindle Keyboard
Thanks, that worked! This method was simple enough but do you know of a way to do so without converting to EPUB and then converting to MOBI? In case there is no way, do you think that converting to EPUB first might unexpectedly affect the formatting or something else?
Jorge24 is offline   Reply With Quote
Advert
Old 10-02-2014, 03:37 PM   #6
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I know of no way to set a semantic element in the HTML format, however the conversion should maintain your formatting. Note that conversion settings will usually default to performing certain procedures such as rescaling fonts, normalizing paragraphs to indent instead of using blank paragraph separators, etc... so you may want to open the editor from the Start Menu using the standalone Edit Book launcher.

Then go to:
File ==> Import an HTML or DOCX file as a new book
eschwartz is offline   Reply With Quote
Old 10-02-2014, 03:54 PM   #7
Jorge24
Junior Member
Jorge24 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2014
Device: Kindle Keyboard
Thanks again, that worked out perfectly!
Jorge24 is offline   Reply With Quote
Reply

Tags
kindle, toc, toc detection


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
Please, help with Table of Contents fe0642 Conversion 3 08-09-2011 12:23 PM
Calibre and mobi format - creating a paige or location specific table of contents coaver Conversion 2 01-25-2011 05:22 AM
Table of Contents peterinnes Sigil 1 09-29-2010 03:03 AM
Help with my Table of Contents Skylinefranc Calibre 0 03-19-2010 12:55 AM


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


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