03-03-2009, 09:12 PM | #1 |
Sir Penguin of Edinburgh
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
EPUB autogenerated TOC
The latest version of calibre is grabbing all links in a Mobi ebook and adding them to the external TOC. I'm pretty sure it wasn't doing this before. This includes the external links to webpages.
How do I get it to stop doing this? Clicking "Do not add detected chapters to the TOC" doesn't work, nor does setting "Number of links to add to TOC" to zero. |
03-03-2009, 09:14 PM | #2 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
--max-toc-links=0
|
03-03-2009, 09:24 PM | #3 | |
Sir Penguin of Edinburgh
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
And I put this where, exactly? If I put it in the XPath window, the conversion crashes. Here:
Quote:
And I still have copies created with .4.141. They don't have exhibit this bug. |
|
03-03-2009, 09:31 PM | #4 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
umm there's an option labeled number of links to add to table of contents
|
03-03-2009, 09:43 PM | #5 |
Sir Penguin of Edinburgh
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
That doesn't work, and I said so in my first post. I also just tried it again. It still doesn't work. Please see the attached Epub file.
|
03-03-2009, 09:51 PM | #6 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The EPUB file isn't any use, I need the source file you used for the conversion
|
03-03-2009, 09:53 PM | #7 |
Sir Penguin of Edinburgh
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
You could use the Mobi file I uploaded for the other bug, but I attached the one I used for this.
|
03-03-2009, 10:18 PM | #8 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Will be fixed in next release
|
04-04-2009, 12:49 PM | #9 |
Nameless Being
|
ePub TOCs still broken
When converting HTML to ePub, the TOC entries all point to page 1.
|
04-04-2009, 04:18 PM | #10 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
With what epub file?
|
04-10-2009, 12:02 PM | #11 |
Nameless Being
|
|
04-10-2009, 12:08 PM | #12 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Open a ticket and attach one of these html files alongwith whatever setting you used to create the TOC
|
04-10-2009, 03:25 PM | #13 |
Enthusiast
Posts: 32
Karma: 10
Join Date: Sep 2007
Device: Android phone + PRS-505
|
I have seen the issue with the TOC links all pointing to the first page as well. I've looked at the source file, and figured out that the issue is the Xpath chapter mark setting: when I set that option to "none", the issue is avoided.
When I looked at the source of my book, I see that there is a wrapping div that has the id that the link is expecting to use. (There is a page-break before this div in the css, btw.) However, when the chapter-mark setting is set to "page-break", it dumps the wrapping div that comes before the chapter header, but does not make a note that the lost ID is needed for a link. |
04-10-2009, 03:35 PM | #14 | |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Epub to Epub loses TOC | edbro | Calibre | 6 | 10-12-2010 04:24 PM |
Calibre ePub TOC and Sigil | salasnet | Calibre | 3 | 09-26-2010 05:34 PM |
Epub style question - TOC | luthar28 | ePub | 4 | 08-04-2010 07:19 PM |
epub TOC | crutledge | ePub | 2 | 02-14-2010 04:57 PM |
Epub to Mobi & TOC | Nate the great | Calibre | 12 | 10-01-2009 03:33 PM |