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 04-21-2011, 12:53 AM   #1
affa
Connoisseur
affa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheese
 
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>
Title Page (the page that doesn't show up)

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>
affa is offline   Reply With Quote
Old 04-21-2011, 04:29 AM   #2
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: 80520
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Moderator Notice
Moved to correct forum.
Manichean is offline   Reply With Quote
Old 04-21-2011, 11:29 AM   #3
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: 26,434
Karma: 5383257
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.
kovidgoyal is offline   Reply With Quote
Old 04-21-2011, 02:30 PM   #4
affa
Connoisseur
affa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheese
 
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).
affa is offline   Reply With Quote
Old 04-21-2011, 10:21 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 affa View Post
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).
You can always test on a virtual Kindle. Download the Kindle Previewer:
http://www.amazon.com/gp/feature.htm...cId=1000234621
ldolse 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
the case of the disappearing TOC cybmole Conversion 4 01-22-2011 05:29 AM
The Case of the Disappearing Cursor... Hitch EPUBReader 8 09-08-2010 05:20 AM
Files disappearing! The CB Calibre 2 08-11-2009 07:23 PM
Disappearing power dwallbaum Amazon Kindle 4 05-31-2009 07:15 PM
Library Disappearing Knocka Calibre 29 03-13-2009 10:37 PM


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


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