07-15-2010, 03:07 PM | #1 |
Enthusiast
Posts: 41
Karma: 10
Join Date: Jul 2010
Location: Midwest, USA
Device: Kindle Paperwhite 2,
|
Odt to ePub chapter link errors
When I convert a book I created in Open Office, the chapter link for chapter one converts incorrectly. While inside Open Office the hyperlink opens the first chapter, but the ePub produced by Calibre opens the title page. All the other chapter hyperlinks appear to convert correctly, and open smoothly.
I've included the ePub version, but the forum attachments says the odt file is an invalid file. I see odt's are not listed as a possible file to upload. (I started using Open Office instead of Word because Calibre could not open rtf files from Word on my system, but handled odt files beautifully.) Any help correcting this would be greatly appreciated. |
07-15-2010, 05:36 PM | #2 |
Connoisseur
Posts: 61
Karma: 12
Join Date: Jan 2010
Device: Kindle PW
|
I had a similar problem as well, which is why I stopped bothering with EPUBs. I tested a bunch of BookDesigner created files with an EPUB conversion in Calibre, and every single time the links kept pointing to a chapter previous to the one pointed at. No idea why, couldn't figure out how to fix it.
You could give Sigil a try though, but it takes a bit more work. |
Advert | |
|
07-15-2010, 06:41 PM | #3 |
Enthusiast
Posts: 41
Karma: 10
Join Date: Jul 2010
Location: Midwest, USA
Device: Kindle Paperwhite 2,
|
I'd really rather figure out why this happened, instead of throwing in the towel.
|
07-15-2010, 07:28 PM | #4 | |
Well trained by Cats
Posts: 30,321
Karma: 58000000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Code:
<p class="P-P7"><a class="calibre1" href="../Text/index_split_000.xhtml#anchor001">Chapter 1: Prologue: Tathata</a> </p> Simply SAVING with Sigil fixes the NCX, the inline TOC is wrong. There is something weird about the converter or original ODT |
|
07-15-2010, 07:44 PM | #5 | |
Enthusiast
Posts: 41
Karma: 10
Join Date: Jul 2010
Location: Midwest, USA
Device: Kindle Paperwhite 2,
|
Quote:
What does this mean in layman's terms? |
|
Advert | |
|
07-15-2010, 08:05 PM | #6 |
Well trained by Cats
Posts: 30,321
Karma: 58000000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The results you see is the PROPER results for the code which may not be the DESIRED results.
I see nothing in the title page that would call for the label of "Chapter 1" in the TOC Your creation tools are broken, change your tools to something that works better. or fix the project code with Sigil (a 1 character change) |
07-15-2010, 08:27 PM | #7 |
Enthusiast
Posts: 41
Karma: 10
Join Date: Jul 2010
Location: Midwest, USA
Device: Kindle Paperwhite 2,
|
Okay, I completely deleted the Table of Contents from the odt file, then went through chapter by chapter, highlighted the chapter titles and reset their formatting to header1. Then using the navigator I dropped and dragged the chapter links from the header file onto the page where the Table of Contents would go. Then I reloaded it into Calibre, re-did the metadata, and converted it to ePub. The finished product seems to work correctly.
But, when I use it on my Nook, while the chapter 1 link correctly moves you to chapter one, the "Go To" function on the Nook touch screen still moves you to the cover page when you select chapter one. But like I said, when you tab down to chapter one on the actual contents page and select it, it takes you to chapter one. SO could you check the code for me to see if there is still something weird? At this point it seems to me that the ePub was made correctly but that the Nook is reading it weird. BTW, I'm downloading Sigil right now. |
07-15-2010, 09:05 PM | #8 | |
Well trained by Cats
Posts: 30,321
Karma: 58000000
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Using the TOC also navigates to the correct spot in epubreader but is a half page off in Calibre's reader (no clue, sorry) I don't have a Nook (My Astak PP uses the NCX file to navigate) I note: your inline TOC has 2 dashes before chapter 1, (cosmetic) Sigil has a TOC edit function (F7), but it mainly hides (H1,H2H3) entries from the TOC. To see the (code) contents of the NCX, you have to lift the skirts (un-zip) of the EPUB and peek with a text editor . You should NOT normally have to do this. |
|
07-15-2010, 09:24 PM | #9 | |
Enthusiast
Posts: 41
Karma: 10
Join Date: Jul 2010
Location: Midwest, USA
Device: Kindle Paperwhite 2,
|
Quote:
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The problem of ODT in ePub | Linwood | Calibre | 0 | 08-24-2010 09:08 AM |
Managing HTML Link Behavior, From TOC to Chapter Headings | FlooseMan Dave | Calibre | 1 | 03-31-2010 11:55 PM |
From ODT to EPUB with love | roger64 | Calibre | 23 | 03-23-2010 05:32 AM |
.odt 2 .epub | renareto | Calibre | 4 | 02-11-2010 03:26 PM |