|  01-27-2010, 08:35 PM | #1 | 
| Junior Member  Posts: 2 Karma: 10 Join Date: Jan 2010 Device: Kindle2 | 
				
				Calibre TOC at end
			 
			
			Hi there. I posted this on another thread but sometimes it's good to start a new one. I converted a HTML file to mobi and used h1 for my title page and h2 for the chapters. This all works fine, but...I wanted calibre to generate a TOC only it puts it at the end of the file. Obviously to look like a properly formatted book I would like it after the Title page. How do I get Calibre to do this? Please help!!!!! | 
|   |   | 
|  01-27-2010, 10:13 PM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			calibre wont create a table of contents in the main content of your book. If you want one there, you have to create it by hand.
		 | 
|   |   | 
| Advert | |
|  | 
|  01-28-2010, 09:36 AM | #3 | |
| Junior Member  Posts: 4 Karma: 10 Join Date: Jan 2010 Device: HTC Tilt 2 | Quote: 
 I originally used Word 2007 and thought I made the TOC correctly by using Word 2007 --> Reference --> Table of Contents but during the conversion from RTF to mobi, the links did not work in the mobi file. They looked like Blue hyperlinks but they didn't function. So I removed my manually created TOC from Word 2007 and processed it with calibre's autogenerate feature. The calibre's autogenerate did the TOC correctly but it placed it at the "end of the book, by design," so I have to scroll all the way to the last page to select a chapter I want to go to! I guess I'm really asking if this can be a feature request to select the location of the autogenerated TOC.. Before the main content just after the book cover/metadata that can be injected by calibre, or the end of the book... | |
|   |   | 
|  01-28-2010, 11:51 AM | #4 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Feel free to open a  feature request. But this one is not likely to get implemented any time soon.
		 | 
|   |   | 
|  01-29-2010, 10:08 AM | #5 | 
| Wizard            Posts: 1,230 Karma: 543210 Join Date: Feb 2008 Location: Gatlinburg, Tennessee Device: Kindles: Paperwhite Signature Ed., Oasis 2, Voyage | 
			
			Every Mobi reader I've used has a way to directly "go to" the TOC from any location in the book -- no scrolling involved.
		 | 
|   |   | 
| Advert | |
|  | 
|  01-29-2010, 11:14 AM | #6 | |
| Junior Member  Posts: 4 Karma: 10 Join Date: Jan 2010 Device: HTC Tilt 2 | Quote: 
 Since it would be considered a "Low on the totem pole" request, I found a workaround. I convert the book from RTF to Mobi with debugging enabled, I grab the XHTML that is generated of the book and then I load it into MSWORD and add the TOC as HTML as opposed to trying it straight from RTF -> Mobi in Calibre. Once I add the TOC in the HTML, I convert it to Mobi in Calibre and the TOC is where I need it to be right after the cover page that shows the book image.. | |
|   |   | 
|  01-29-2010, 02:11 PM | #7 | ||
| Wizard            Posts: 1,230 Karma: 543210 Join Date: Feb 2008 Location: Gatlinburg, Tennessee Device: Kindles: Paperwhite Signature Ed., Oasis 2, Voyage | Quote: 
  The function is available on the PalmOS, Windows, Cybook & Kindle Mobipocket readers. Ah, well. Quote: 
 | ||
|   |   | 
|  01-29-2010, 10:07 PM | #8 | 
| Junior Member  Posts: 4 Karma: 10 Join Date: Jan 2010 Device: HTC Tilt 2 | 
			
			Thanks for the suggestions though! I'll play with the Mobipocket app some more on my phone to see if I can get the jump to TOC feature. I found the setting under Toolbar options but for some reason I can't get the toolbar to display on my phone.
		 | 
|   |   | 
|  11-07-2010, 05:12 PM | #9 | 
| Junior Member  Posts: 3 Karma: 10 Join Date: Oct 2010 Device: Kindle 2 & 3 | 
			
			Aamzon's Kindle publishing guidelines says books with the TOC at the end will be rejected. We can use expressions to identify TOC entries and we should be able to specify an expression where we want the TOC placed. It might be low on your list, but it's at the top of mine. If I want to create my TOC manually, I may as well use Kindlegen/MobiPocket Creator. I understand Calibre is for far more than Kindle, but that's the only reason I use it and it does not produce Kindle books according to Amazon's guidelines. Once it does, I make a substantial donation.
		 | 
|   |   | 
|  11-07-2010, 05:22 PM | #10 | |
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | Quote: 
  I've bought dozens of books from Amazon that have TOCs at the end. | |
|   |   | 
|  11-07-2010, 05:37 PM | #11 | 
| Wizard            Posts: 3,130 Karma: 91256 Join Date: Feb 2008 Location: Germany Device: Cybook Gen3 | 
			
			You're sounding a wee bit like you're blackmailing there...
		 | 
|   |   | 
|  11-08-2010, 05:48 PM | #12 | 
| Enthusiast      Posts: 47 Karma: 416 Join Date: Aug 2009 Device: Black PRS-650 with lighted cover & Kindle DX. | 
			
			Why don’t you use Sigil to build a epub based book which you can then convert to Mobi.  If you are starting from a different format, you could use calibre to generate the initial epub file which you could then edit in Sigil.  I did this last week.  I started with an old lit file I had, converted it to epub in caliber and then reformatted it in Sigil to clean up the conversion issues.  In my case I left it as an epub file, but you could then convert it to mobi.
		 Last edited by switchman2210; 11-08-2010 at 05:56 PM. Reason: add addtional info | 
|   |   | 
|  11-08-2010, 08:10 PM | #13 | |
| Junior Member  Posts: 3 Karma: 10 Join Date: Oct 2010 Device: Kindle 2 & 3 | 
				
				TOC Placement
			 Quote: 
 | |
|   |   | 
|  12-17-2010, 12:35 PM | #14 | |
| Junior Member  Posts: 1 Karma: 10 Join Date: Dec 2010 Device: kindle | Quote: 
 I don't understand why such a reasonable and common sense request would be "low on the totem pole". | |
|   |   | 
|  12-17-2010, 05:32 PM | #15 | 
| Wizard            Posts: 3,130 Karma: 91256 Join Date: Feb 2008 Location: Germany Device: Cybook Gen3 | 
			
			Uhm, it has already been mentioned in this thread that Calibre doesn't add any kind of TOC to the file content, only to the file metadata. So, your bitching about the TOC being at the end should be aimed at the books' original creators, not at Calibre.
		 | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Calibre ePub TOC and Sigil | salasnet | Calibre | 3 | 09-26-2010 05:34 PM | 
| Generating TOC entries for prelims / end matter in InDesign | forlor | ePub | 7 | 07-07-2010 08:26 AM | 
| TOC in Calibre? | fading | Calibre | 5 | 08-14-2009 05:53 AM | 
| New to Calibre... TOC question | ruchti | Calibre | 10 | 06-08-2009 05:53 PM | 
| Making a TOC for LRFs? Issues with Calibre + LRF TOC editor not working | Magitek | LRF | 0 | 05-06-2009 01:25 PM |