Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 02-07-2011, 03:37 PM   #1
taraboom11
Junior Member
taraboom11 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2011
Device: None
TOC Creation

Hello,

New at calibre and ebook conversions. Have been able to convert an HTML file (from .doc) to an Mobi format. Now stuck on TOC. Trying to create a table of contents where users can highlight and jump to the listed chapter. I read that I have to create jump links and an anchor. Codes not working. The TOC are listed on the ebook MObi format but no jump links.

Appreciate if anyone can help me with this pls. I would like to stick with calibre and Mobi format since already started it. Just need some clarification on creating the TOC. Using MAC.

Thanks for your help,
taraboom11 is offline   Reply With Quote
Old 02-07-2011, 11:17 PM   #2
Piper_
~~~~~
Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.
 
Piper_'s Avatar
 
Posts: 761
Karma: 1278391
Join Date: Aug 2010
Location: USA
Device: Kindle 3, Sony 350
I think the easiest, quickest way to get that is by converting the mobi to epub and then using Sigil to set up the TOC. (In Sigil. Goto Tools -> TOC editor)

Works like a charm. Even after you convert the epub back to mobi, using calibre, you'll have a nice TOC, with the chapter markers that users can jump to with the 5-way controller.
Piper_ is offline   Reply With Quote
Old 02-07-2011, 11:26 PM   #3
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Before you go down that route, you could try enabling Heuristics before converting your html file to mobi. Heuristics attempts to detect the chapters automatically.

In conjunction with heuristics you also need to change the chapter detection xpath under Structure Detection, set the xpath to '//h:h2'

You should also read this thread:
https://www.mobileread.com/forums/sho...d.php?t=119731

I explained there in more detail how this works, don't really feel like typing it out again.

Generally speaking you can get the TOC generated directly within Calibre during conversion. However if Heuristics doesn't work or you can't figure out Xpath, Piper's suggestion of fixing it using Sigil is your best option.
ldolse is offline   Reply With Quote
Old 02-07-2011, 11:33 PM   #4
Piper_
~~~~~
Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.
 
Piper_'s Avatar
 
Posts: 761
Karma: 1278391
Join Date: Aug 2010
Location: USA
Device: Kindle 3, Sony 350
He can get calibre to detect chapters, ldolse, but what he's asking is how to get them encoded so they show as marks along the kindle progress bar, so users can jump through them with the 5-way controller.

AFAIK, there's no way to do that with calibre... is there?
Piper_ is offline   Reply With Quote
Old 02-07-2011, 11:43 PM   #5
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Quote:
Originally Posted by Piper_ View Post
He can get calibre to detect chapters, ldolse, but what he's asking is how to get them encoded so they show as marks along the kindle progress bar, so users can jump through them with the 5-way controller.

AFAIK, there's no way to do that with calibre... is there?
I didn't get that out of the initial post, I see he has a TOC that appears in the Mobi, but not sure if Calibre created that or MS Word did....

I'm not sure about whether Calibre supports creating the 5 way controller integration directly - I would assume it can if the Sigil edited epub will have them once converted to Mobi using Calibre.

Someone just revived a thread discussing the whole topic in more detail here:
https://www.mobileread.com/forums/showthread.php?t=43551
ldolse is offline   Reply With Quote
Old 02-08-2011, 12:02 AM   #6
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,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre supports creating waypoints in MOBI files, but the input document has to satisfy some conditions for it to work, the most important being that the toc.ncx entries are sequential, i.e. they point to locations in the book that come one after the other.
kovidgoyal is online now   Reply With Quote
Old 02-08-2011, 12:28 AM   #7
Piper_
~~~~~
Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.
 
Piper_'s Avatar
 
Posts: 761
Karma: 1278391
Join Date: Aug 2010
Location: USA
Device: Kindle 3, Sony 350
Quote:
Originally Posted by ldolse View Post
I didn't get that out of the initial post, I see he has a TOC that appears in the Mobi, but not sure if Calibre created that or MS Word did....
You may well be right. I inferred it from his saying he had a TOC and wanted "jump links," but that's a jump of my own. He might have just meant clickable.

Quote:
Originally Posted by ldolse View Post
I'm not sure about whether Calibre supports creating the 5 way controller integration directly - I would assume it can if the Sigil edited epub will have them once converted to Mobi using Calibre.

Someone just revived a thread discussing the whole topic in more detail here:
https://www.mobileread.com/forums/showthread.php?t=43551
Thanks! I'll go look.
Piper_ is offline   Reply With Quote
Old 02-08-2011, 12:40 AM   #8
Piper_
~~~~~
Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.Piper_ ought to be getting tired of karma fortunes by now.
 
Piper_'s Avatar
 
Posts: 761
Karma: 1278391
Join Date: Aug 2010
Location: USA
Device: Kindle 3, Sony 350
Quote:
Originally Posted by kovidgoyal View Post
calibre supports creating waypoints in MOBI files, but the input document has to satisfy some conditions for it to work, the most important being that the toc.ncx entries are sequential, i.e. they point to locations in the book that come one after the other.
Thanks, Kovid.

It's crazy how attached I became to the whole chapter-jumping thing; I've edited perfectly fine books just to get them set up.
calibre always preserves them beautifully.
Piper_ is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TOC Creation Problem penguintri Calibre 8 10-06-2010 08:36 PM
TOC Creation & Calibre vs. MobiPocket Themus Calibre 8 05-15-2010 11:32 AM
TOC Creation - simplifying suggestion Fredom Calibre 1 04-21-2010 08:29 PM
Chapter or TOC Creation help needed gandor62 Calibre 4 04-15-2009 02:18 PM
Help on TOC creation MacZap Calibre 7 02-04-2009 12:43 AM


All times are GMT -4. The time now is 03:49 AM.


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