View Single Post
Old 04-06-2011, 04:36 PM   #2
jmickey
Member
jmickey doesn't litterjmickey doesn't litterjmickey doesn't litter
 
Posts: 12
Karma: 218
Join Date: Apr 2011
Device: Skytex Primer
Hi
Though I should list the code produced by calibre in the jacket.xhtml and my code that was fed into calibre.

my code which tidy passes with no errors and no warnings. I have only one html file the rest are .jpgs


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML version 1.0 "
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="en">
<head>
<title>Afghan Tales</title>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
<meta http-equiv="content-language" content="en" />
<meta name="generator" content="SEEdit Maxi for Macintosh" />
<link rel="stylesheet" href="styles/standard.css" type="text/css" />
</head>
<body>
<table><tr><td>
<h1>Table of contents</h1>
</td></tr>
<tr><td>
<ul>
<li><h2><a href="Index.html#index3"><font size="3">Introduction</font></A></h2></li>
<li><h2><a href="Index.html#index5"><font size="3">Chapter 1 Teamwork</font></A></h2></li>
<li><h2><a href="Index.html#index13"><font size="3">Chapter 2 On Patrol</font></A></h2></li>
<li><h2><a href="Index.html#index22"><font size="3">Chapter 3 Rescue Mission</font></A></h2></li>
<li><h2><a href="Index.html#index36"><font size="3">Chapter 4 Ambushed</font></A></h2></li>
<li><h2><a href="Index.html#index52"><font size="3">Commemoration</font></A></h2></li>
<li><h2><img src="Contentpic.jpg" alt=""></img></h2></li>
</ul></td></tr>
</table>
<p><a id="index3"><img alt="index3.jpg" src="index3.jpg" /></a></p>
<p><a id="index4"><img alt="" src="index4.jpg" /></a></p>
<p><a id="index5"><img alt="" src="index5.jpg" /></a></p>
<p><img alt="" src="index6.jpg" /></p>
<p><img alt="" src="index7.jpg" /></p>
<p><img alt="" src="index8.jpg" /></p>
<p><img alt="" src="index9.jpg" /></p>
<p><img alt="" src="index10.jpg" /></p>
<p><img alt="" src="index11.jpg" /></p>
<p><img alt="" src="index12.jpg" /></p>

Calibre's jacket.xhtml only listing up to the error fields

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Afghan Tales</title>
<meta content="jacket" name="calibre-content" />
<link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css" />

<style type="text/css">
@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; }
</style>
</head>

<body class="calibre">
<div class="cbjbanner">
<table class="cbjheader">
<tr class="calibre1">
<td class="cbjtitle" colspan="2"><span class="title">Afghan Tales</span></td>
</tr>

<tr class="calibre1">
<td></td>
</tr>


<tr class="calibre1">
<td class="cbjauthor" colspan="2">James Mickey Girvan</td>
</tr>

now what in my code causes calibre to put that empty <tr class="calibre1">
<td></td> </tr> in the Jacket file. That item if removed in sigil allows the epub to pass epubcheck but I find editing in sigil leaves me with a file that cannot load on ereaders. though it works in AdobeDE.
Any clues anyone?

jmickey
jmickey is offline   Reply With Quote