View Single Post
Old 04-20-2011, 11:53 PM   #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