Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-27-2010, 08:35 PM   #1
Dante
Junior Member
Dante began at the beginning.
 
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!!!!!
Dante is offline   Reply With Quote
Old 01-27-2010, 10:13 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,844
Karma: 22666666
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.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-28-2010, 09:36 AM   #3
Learic
Junior Member
Learic began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2010
Device: HTC Tilt 2
Quote:
Originally Posted by kovidgoyal View Post
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.
I have the same concern with the TOC at the end of the file, which from what I read is by design, during a RTF --> Mobi conversion. Since Calibre can "inject" the book cover that is not originally in the main content and also a metadata page into the book at the beginning, would it be possible to have an option to inject the calibre "autogenerated" TOC after the book cover and the metadata if selected?

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...
Learic is offline   Reply With Quote
Old 01-28-2010, 11:51 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,844
Karma: 22666666
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.
kovidgoyal is offline   Reply With Quote
Old 01-29-2010, 10:08 AM   #5
bwaldron
Wizard
bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.
 
bwaldron's Avatar
 
Posts: 1,229
Karma: 543210
Join Date: Feb 2008
Location: Gatlinburg, Tennessee
Device: Kindles: Paperwhite Signature Ed., Oasis 2, Voyage
Quote:
Originally Posted by Learic View Post
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
Every Mobi reader I've used has a way to directly "go to" the TOC from any location in the book -- no scrolling involved.
bwaldron is offline   Reply With Quote
Advert
Old 01-29-2010, 11:14 AM   #6
Learic
Junior Member
Learic began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2010
Device: HTC Tilt 2
Quote:
Originally Posted by bwaldron View Post
Every Mobi reader I've used has a way to directly "go to" the TOC from any location in the book -- no scrolling involved.
I'm using MobiPocket for Windows Mobile. I use it in full screen mode and I don't see any options to directly go to the TOC. They may be there, but I don't see them. The only navigate options it has for me under Menu --> Navigate are "First Page," "Page Number," and "Cover Page."

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..
Learic is offline   Reply With Quote
Old 01-29-2010, 02:11 PM   #7
bwaldron
Wizard
bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.bwaldron ought to be getting tired of karma fortunes by now.
 
bwaldron's Avatar
 
Posts: 1,229
Karma: 543210
Join Date: Feb 2008
Location: Gatlinburg, Tennessee
Device: Kindles: Paperwhite Signature Ed., Oasis 2, Voyage
Quote:
Originally Posted by Learic View Post
I'm using MobiPocket for Windows Mobile. I use it in full screen mode and I don't see any options to directly go to the TOC.
Well, that's one I haven't used. The function is available on the PalmOS, Windows, Cybook & Kindle Mobipocket readers.

Ah, well.

Quote:
Originally Posted by Learic View Post
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..
Glad you found a work-around.
bwaldron is offline   Reply With Quote
Old 01-29-2010, 10:07 PM   #8
Learic
Junior Member
Learic began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2010
Device: HTC Tilt 2
Quote:
Originally Posted by bwaldron View Post
Well, that's one I haven't used. The function is available on the PalmOS, Windows, Cybook & Kindle Mobipocket readers.

Ah, well.



Glad you found a work-around.
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.
Learic is offline   Reply With Quote
Old 11-07-2010, 05:12 PM   #9
JohnRausch
Junior Member
JohnRausch began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2010
Device: Kindle 2 & 3
Quote:
Originally Posted by kovidgoyal View Post
Feel free to open a feature request. But this one is not likely to get implemented any time soon.
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.
JohnRausch is offline   Reply With Quote
Old 11-07-2010, 05:22 PM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,844
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by JohnRausch View Post
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.
In that case Amazon doesn't follow its own publishing guidelines I've bought dozens of books from Amazon that have TOCs at the end.
kovidgoyal is offline   Reply With Quote
Old 11-07-2010, 05:37 PM   #11
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by JohnRausch View Post
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.
You're sounding a wee bit like you're blackmailing there...
Manichean is offline   Reply With Quote
Old 11-08-2010, 05:48 PM   #12
switchman2210
Enthusiast
switchman2210 has a complete set of Star Wars action figures.switchman2210 has a complete set of Star Wars action figures.switchman2210 has a complete set of Star Wars action figures.switchman2210 has a complete set of Star Wars action figures.switchman2210 has a complete set of Star Wars action figures.
 
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
switchman2210 is offline   Reply With Quote
Old 11-08-2010, 08:10 PM   #13
JohnRausch
Junior Member
JohnRausch began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2010
Device: Kindle 2 & 3
TOC Placement

Quote:
Originally Posted by switchman2210 View Post
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.
Yes i could do that, or I could easily create an HTML TOC with a good text editor, which I have, and then create the NCX file and use Kindlegen. But what I want and I think thousands of people want is an authoring tool that automates the repetitive, error-prone steps in building a MOBI file that puts the TOC where most humans expect to find it. Calibre comes so close to being just about perfect for this, but putting the TOC at the end of the book is just plain wrong.
JohnRausch is offline   Reply With Quote
Old 12-17-2010, 12:35 PM   #14
dpmedia
Junior Member
dpmedia began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2010
Device: kindle
Quote:
Originally Posted by JohnRausch View Post
...But what I want and I think thousands of people want is an authoring tool that automates the repetitive, error-prone steps in building a MOBI file that puts the TOC where most humans expect to find it. Calibre comes so close to being just about perfect for this, but putting the TOC at the end of the book is just plain wrong.
I totally agree. When I open a book, I expect to see the table of contents at the beginning of the book. Not buried on the last page. Sure, readers can hit the table of contents button and get there but why force them to? Sure, I can manually inject a table of contents into the content but that's extra work.

I don't understand why such a reasonable and common sense request would be "low on the totem pole".
dpmedia is offline   Reply With Quote
Old 12-17-2010, 05:32 PM   #15
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
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.
Manichean is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 09:20 PM.


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