Quote:
Originally Posted by kovidgoyal
|
OK... zip file here:
https://www.dropbox.com/s/t9qu63m8o7...ample.zip?dl=0
Contains EPUB sample and result of converting to AZW3. No custom conversion settings. Conversion log just says "Convert book 1 of 1 (Sample), Finished, 100%, time taken 0m 2s".
EPUB TOC:
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>Table of Contents</title>
<style type="text/css">
li {
list-style-type: none;
padding-left: 0;
text-indent: -2em;
margin-left: 1em;
margin-bottom: 0.2em;
text-align: left;
}
a {
text-decoration: none;
}
h2 {
font-size: 1.2em;
text-align: center;
margin: 2em;
}
</style>
</head>
<body id="calibre_generated_inline_toc">
<h2>Table of Contents</h2>
<ul>
<li><a href="OEBPS/Text/ch01.html">Chapter One</a></li>
<li><a href="OEBPS/Text/ch02.html">Chapter Two</a></li></ul>
</body>
</html>
Converted AZW3 TOC:
Code:
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head><meta charset="UTF-8"/>
<title>Table of Contents</title>
<link href="" rel="stylesheet" type="text/css"/>
<link href="" rel="stylesheet" type="text/css"/>
</head>
<body class="calibre" id="calibre_generated_inline_toc">
<h2 class="calibre3" id="UGI1-242b96fe68744506ab7fa88a1fee4602">Table of Contents</h2>
<ul class="calibre4">
<li class="calibre5"><a class="calibre6" href="part0002.html#1T141-242b96fe68744506ab7fa88a1fee4602">Chapter One</a></li>
<li class="calibre5"><a class="calibre6" href="part0003.html#2RHM1-242b96fe68744506ab7fa88a1fee4602">Chapter Two</a></li></ul>
</body>
</html>
Changing this line in the generated AZW3:
Code:
<link href="" rel="stylesheet" type="text/css"/>
to this:
Code:
<link href="../styles/0001.css" rel="stylesheet" type="text/css"/>
fixes the problem.