04-20-2011, 11:53 PM | #1 |
Connoisseur
Posts: 56
Karma: 1234
Join Date: Apr 2011
Device: kindle
|
the case of the disappearing page
I am converting an Epub to Mobi and losing a page in the process.
The 'files' in the Epub go: 1) Cover 2) Title Page 3) Dedication 4) Rest of book However, when I convert to Mobi and export to my Kindle, the book loses the Title Page entirely. I can see it if I view the mobi file through Calibre, but NOT if I actually use my Kindle. It begins on the Dedication instead and does not let me page back. Additionally, for some reason, when I select Title Page in the TOC on the kindle, it's underlined like a link but there is no 'hand' letting me click it like other TOC elements. I have tried various settings during conversion to no avail. The original epub was created by Indesign, and refined in Sigil. Sigil reports no validation errors. Here is the code for the first two pages (cover + title). COVER Code:
<?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>The Book Title</title> <link href="../Styles/template.css" rel="stylesheet" type="text/css" /> </head> <body style=""> <div id="the-book-title-by-john-doe"> <div class="story"> <h2 id="heading_id_2" title="Title Page"></h2> <p class="front-matter"><span class="generated-style"><span style="font-family: Arial; line-height: normal; font-size: medium;"><img alt="" src="../Images/COVER.jpg" /></span></span></p> </div> </div> </body> </html> Code:
<?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>The Book Title by John Doe</title> <link href="../Styles/template.css" rel="stylesheet" type="text/css" /> </head> <body style=""> <div id="the-book-title-by-john-doe"> <div class="story"> <p class="front-matter"><span class="generated-style">The Book Title</span></p> <p class="front-matter"><span class="generated-style">A novel by John Doe</span></p> <p class="front-matter"><span class="generated-style"><br /></span></p> <p class="front-matter"><span class="generated-style"><br /></span></p> <p class="front-matter"><span class="generated-style">Edited by Jane Smith</span></p> <p class="front-matter"><br /></p> <p class="front-matter"><br /></p> <p class="front-matter"><img src="../Images/logo.jpeg" /><br /></p> <p class="front-matter"><span class="generated-style">The Press</span></p> </div> <div class="story"></div> </div> </body> </html> |
04-21-2011, 03:29 AM | #2 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Moderator Notice
Moved to correct forum. |
Advert | |
|
04-21-2011, 10:29 AM | #3 |
creator of calibre
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You've probably got the missing page marked as a cover in the OPF <guide> section.
|
04-21-2011, 01:30 PM | #4 |
Connoisseur
Posts: 56
Karma: 1234
Join Date: Apr 2011
Device: kindle
|
I think I figured it out, but in doing so I found either a significant error with the official Sigil tutorial, or a semi-bug in Sigil, not sure. I just happened to notice it when I was checking this page for replies, and just tested on a new file.
Here's the issue: When you create the cover based on the tutorial directions for Sigil, http://code.google.com/p/sigil/wiki/BasicTutorial The cover page 'steals' the title declaration from your real first page. So, if you notice in the code in the OP, the cover page has a header for 'Title Page'. I never noticed because my title doesn't display. I'll go report this in the Sigil forum, I guess, once I test it out on the Kindle itself (my wife has it right now). |
04-21-2011, 09:21 PM | #5 | |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Quote:
http://www.amazon.com/gp/feature.htm...cId=1000234621 |
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
the case of the disappearing TOC | cybmole | Conversion | 4 | 01-22-2011 04:29 AM |
The Case of the Disappearing Cursor... | Hitch | EPUBReader | 8 | 09-08-2010 04:20 AM |
Files disappearing! | The CB | Calibre | 2 | 08-11-2009 06:23 PM |
Disappearing power | dwallbaum | Amazon Kindle | 4 | 05-31-2009 06:15 PM |
Library Disappearing | Knocka | Calibre | 29 | 03-13-2009 09:37 PM |