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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-25-2011, 06:44 PM   #1
medwatt
Enthusiast
medwatt began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
Post [Old Thread] Create just one TOC

Hello. I've searched for a solution to no avail. I have edit the book in microsoft word and created a Table of Contents and saved as epub. In Calibre, I convert to mobi and I get two TOC though the one autogenerated by Calibre is the one that gets linked to when I select Table of Contents from my kindle menu. Ok, I then uncheck the Do Not Add TOC to book or Force use of autogenerated TOC, and though it didn't produce one, I was unable to find a link to my TOC through the kindle menu.
What I want is, how can I link to a particular location in my document and make that location as the start of my TOC.
Like when using Mobipocket creator, I can simply add guide item and link to any location through a bookmark.
Thank you.
medwatt is offline   Reply With Quote
Old 02-27-2011, 09:55 AM   #2
medwatt
Enthusiast
medwatt began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
Why can't anybody answer me ?
medwatt is offline   Reply With Quote
Old 02-27-2011, 10:58 AM   #3
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 13,609
Karma: 5126946
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by medwatt View Post
Why can't anybody answer me ?
Not polite MR behavior.
theducks is offline   Reply With Quote
Old 02-27-2011, 12:14 PM   #4
medwatt
Enthusiast
medwatt began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
Quote:
Originally Posted by theducks View Post
Not polite MR behavior.
Is that the best you can come up with. If you don't know don't hide under words please.
medwatt is offline   Reply With Quote
Old 02-27-2011, 12:41 PM   #5
Manichean
Wizard
Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!
 
Manichean's Avatar
 
Posts: 3,130
Karma: 80446
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Well, he's right. If someone had a helpful idea, there would be answers to your post already. Getting impatient after only a day is a little rude. I've never seen posts on here getting ignored just because. Also, if you'd looked at the thread statistics, you'd seen that you have 80 views already, so plenty of people have seen this without having a good idea.
Manichean is offline   Reply With Quote
Old 02-27-2011, 01:09 PM   #6
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 13,609
Karma: 5126946
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by medwatt View Post
Is that the best you can come up with. If you don't know don't hide under words please.
I ave an idea, but your attitude put me off
theducks is offline   Reply With Quote
Old 02-27-2011, 04:38 PM   #7
medwatt
Enthusiast
medwatt began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
Quote:
Originally Posted by theducks View Post
I ave an idea, but your attitude put me off
You thinks you're teasing me ? Better find something else to do.
medwatt is offline   Reply With Quote
Old 02-27-2011, 09:37 PM   #8
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,575
Karma: 12369683
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Ignorance Alert!!! I have no experience creating mobi books.

Quote:
Originally Posted by medwatt View Post
I have edit the book in microsoft word and created a Table of Contents and saved as epub.
You didn't create a TOC in Word you created a inline page that links to other parts of the book. These are two different things. Did you look to see what the TOC looked like in the ePub? The ePub TOC is an external TOC not part of the html.

Quote:
Originally Posted by medwatt View Post
In Calibre, I convert to mobi and I get two TOC though the one autogenerated by Calibre is the one that gets linked to when I select Table of Contents from my kindle menu.
You get one TOC and a inline link page that you created. The official linked from the menu TOC is actually at the end of the mobi document.

Quote:
Originally Posted by medwatt View Post
Ok, I then uncheck the Do Not Add TOC to book or Force use of autogenerated TOC, and though it didn't produce one, I was unable to find a link to my TOC through the kindle menu.
You essentially told it not to create a link from the menu button to a TOC by disabling the creation of a TOC.

Quote:
Originally Posted by medwatt View Post
What I want is, how can I link to a particular location in my document and make that location as the start of my TOC.
Like when using Mobipocket creator, I can simply add guide item and link to any location through a bookmark.
If you can do it in Mobicreator then you might want to consider using that.

Personally (since I have no clue about creating Mobi books) I would use Sigil to edit the ePub TOC to my liking then convert that epub to Mobi and forget about my link page. I have yet to buy a book from Amazon that had a inline TOC at the beginning of the book.

Of course if I wanted to find out how to link to a TOC I created for a Mobi book I would probably ask the question in the Mobi forum where people who create Mobi books would presumably have the expertise to help you.
DoctorOhh is offline   Reply With Quote
Old 02-28-2011, 03:30 AM   #9
DMSmillie
Enquiring Mind
DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'
 
DMSmillie's Avatar
 
Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
Quote:
Originally Posted by medwatt View Post
Why can't anybody answer me ?
The most usual reason for a lack of answers in these forums is because no-one knows how to do what you're asking for (and it's generally regarded as rather unhelpful to post a reply that simply says "Sorry, I don't know"). Or because they're unsure, and are waiting to see if someone else who does know posts an answer. Or because the person who does know hasn't yet seen your post.

Quote:
Originally Posted by Manichean View Post
Well, he's right. If someone had a helpful idea, there would be answers to your post already. Getting impatient after only a day is a little rude. I've never seen posts on here getting ignored just because. Also, if you'd looked at the thread statistics, you'd seen that you have 80 views already, so plenty of people have seen this without having a good idea.
Exactly.
DMSmillie is offline   Reply With Quote
Old 02-28-2011, 04:09 AM   #10
DMSmillie
Enquiring Mind
DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'
 
DMSmillie's Avatar
 
Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
Quote:
Originally Posted by dwanthny View Post
Quote:
Originally Posted by medwatt View Post
I have edit the book in microsoft word and created a Table of Contents and saved as epub.
You didn't create a TOC in Word you created a inline page that links to other parts of the book.
That's a table of contents.
A Word table of contents is an inline page of links to other parts of the document.
An EPUB table of contents is generated by the EPUB reader from the content coded in the NCX file.
A MOBI/Kindle table of contents is an inline set of links to other parts of the book coded into the HTML content of the book, with a guide item pointer to the location of that inline set of links which the MOBI reader uses to enable the user to jump to that list of links from anywhere else in the book.
The fact that they are provided in different formats doesn't make any one format more valid than another as a table of contents. Each is appropriate to its own format, and each is a table of contents.

Quote:
Originally Posted by dwanthny View Post
Quote:
Originally Posted by medwatt View Post
In Calibre, I convert to mobi and I get two TOC though the one autogenerated by Calibre is the one that gets linked to when I select Table of Contents from my kindle menu.
You get one TOC and a inline link page that you created.
You get two inline tables of contents - one is the original one in its original position, the other is created by Calibre and placed at the end of the book. Calibre inserts a pointer in the MOBI file to the Calibre-generated inline table of contents.

Quote:
Originally Posted by dwanthny View Post
Quote:
Originally Posted by medwatt View Post
Ok, I then uncheck the Do Not Add TOC to book or Force use of autogenerated TOC, and though it didn't produce one, I was unable to find a link to my TOC through the kindle menu.
You essentially told it not to create a link from the menu button to a TOC by disabling the creation of a TOC.
medwatt is looking for a way of getting Calibre to create a pointer in the resulting MOBI file to their original inline TOC, rather than generating an additional inline TOC and creating a pointer to that.

Quote:
Originally Posted by dwanthny View Post
Quote:
Originally Posted by medwatt View Post
Like when using Mobipocket creator, I can simply add guide item and link to any location through a bookmark.
If you can do it in Mobicreator then you might want to consider using that.
You then have a MOBI file which doesn't include an NCX file (unless you manually create the NCX file, do a partial build of the MOBI file, manually edit the OPF file to insert a link to the NCX file, then do a final build of the MOBI file).

Quote:
Originally Posted by dwanthny View Post
I have yet to buy a book from Amazon that had a inline TOC at the beginning of the book.
Few novels have an inline TOC, simply because a list of "Chapter One", "Chapter Two", etc, is of little practical use to anyone, nor does it provide an overview of the content of the book. Most non-fiction MOBI/Kindle books have an inline TOC since it is useful to have one (and an inline TOC is the only kind of TOC the user will be presented with, in a MOBI reader), and most of those are at the beginning of the book (in the same place you'd expect to find such a TOC in a paper book), since the TOC is then included in the free sample, and provides prospective purchasers with a good overview of the book's content.

Quote:
Originally Posted by dwanthny View Post
Of course if I wanted to find out how to link to a TOC I created for a Mobi book I would probably ask the question in the Mobi forum where people who create Mobi books would presumably have the expertise to help you.
Since medwatt is asking if there's any way, and how, to get Calibre to create a pointer to an existing inline TOC rather than only inserting a pointer to a Calibre-generated inline TOC, when using Calibre to convert an ebook to MOBI format, asking the question in the Calibre Conversion forum seems appropriate to me.
DMSmillie is offline   Reply With Quote
Old 02-28-2011, 04:31 AM   #11
DMSmillie
Enquiring Mind
DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'
 
DMSmillie's Avatar
 
Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
Quote:
Originally Posted by medwatt View Post
Hello. I've searched for a solution to no avail. I have edit the book in microsoft word and created a Table of Contents and saved as epub. In Calibre, I convert to mobi and I get two TOC though the one autogenerated by Calibre is the one that gets linked to when I select Table of Contents from my kindle menu. Ok, I then uncheck the Do Not Add TOC to book or Force use of autogenerated TOC, and though it didn't produce one, I was unable to find a link to my TOC through the kindle menu.
What I want is, how can I link to a particular location in my document and make that location as the start of my TOC.
Like when using Mobipocket creator, I can simply add guide item and link to any location through a bookmark.
Thank you.
I don't know of any way to do what you want, medwatt, without doing some manual editing of the XML/XHTML files used to create the EPUB and MOBI files. I was hoping someone might come up with a suggestion that didn't involve that, but it looks like it isn't currently possible.

One possible route might be:
  1. Create a bookmark at the start of your inline TOC (could do that in Word before creating the EPUB version).
  2. Use Calibre's "tweak epub" facility to open up the EPUB and edit the OPF file (using a plain text editor), and add a Guide item of type "toc" to point to that bookmark. E.g.:
    Code:
    <guide>
    <reference type="toc" title="Table of Contents" href="filename.html#bookmark"/>
    </guide>
  3. Save and reform the EPUB file.
  4. Convert to MOBI format.
I haven't tested this, so I don't know what issues it might throw up, but it might be worth trying.
DMSmillie is offline   Reply With Quote
Old 02-28-2011, 05:29 AM   #12
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,575
Karma: 12369683
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by DMSmillie View Post
Quote:
Originally Posted by dwanthny View Post
Ignorance Alert!!! I have no experience creating mobi books.
Since medwatt is asking if there's any way, and how, to get Calibre to create a pointer to an existing inline TOC rather than only inserting a pointer to a Calibre-generated inline TOC, when using Calibre to convert an ebook to MOBI format, asking the question in the Calibre Conversion forum seems appropriate to me.
Thanks for all the great information.

I see the only point I had on target was my first statement. I'm glad someone popped around that had a clue.
DoctorOhh is offline   Reply With Quote
Old 02-28-2011, 05:58 AM   #13
DMSmillie
Enquiring Mind
DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'
 
DMSmillie's Avatar
 
Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)


You are a wretch, dwanthny!
DMSmillie is offline   Reply With Quote
Old 02-28-2011, 02:02 PM   #14
medwatt
Enthusiast
medwatt began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
Code:
<guide>
<reference type="toc" title="Table of Contents" href="filename.html#bookmark"/>
</guide>
Thanks DMSmillie. I used it and it worked just perfectly. The only thing I had to so was to just uncheck " Do not add a TOC to . . . " in the mobi output menu. Finally.
Thank you very much.
medwatt is offline   Reply With Quote
Old 02-28-2011, 02:22 PM   #15
DMSmillie
Enquiring Mind
DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'
 
DMSmillie's Avatar
 
Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
That's excellent! Thanks for letting us know it worked, medwatt.
DMSmillie is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
create TOC for every X pages omegauo Conversion 0 03-21-2011 01:45 AM
Create Newspaper TOC plantoschka Kindle Formats 2 09-09-2010 02:03 PM
Txt to Epub: how to create a toc nestol Calibre 0 08-09-2010 08:56 PM
How to create a TOC from scratch? greenapple Sigil 5 06-01-2010 02:20 AM
How to create linked TOC? squawker Sony Reader 1 03-04-2007 08:20 AM


All times are GMT -4. The time now is 08:17 AM.


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