Converting an ePub to AZW3 with a calibre-generated inline ToC, I notice that the entries have bullets next to them in the converted output. The problem seems to be that the list elements are given a style called "calibre5" which is defined in "0002.css", but the file has a link to "stylesheet.css" (which existed in the original ePub, but was renamed during the conversion).
Here is what was in the ePub to start with:
Code:
<title>Table of Contents</title>
<style type="text/css">
li {
list-style-type: none;
padding-left: 0;
text-indent: -2em;
margin-left: 3em;
}
a {
text-decoration: none;
}
a:hover {
color: red;
}
h2 {
font-size: 1.2em;
text-align: center;
margin: 2em;
}
</style>
</head>
<body id="calibre_generated_inline_toc">
<h2>Table of Contents</h2>
<ul class="level1">
<li><a href="OEBPS/Text/part01.htm">Blah blah blah</a></li>
This is what was in the converted AZW3:
Code:
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="../../page_styles.css" rel="stylesheet" type="text/css"/>
</head>
<body class="calibre4" id="calibre_generated_inline_toc">
<h2 class="calibre3" id="UGI1-4fea6e757c1d4c01a3ff37dcdd3f221e">Table of Contents</h2>
<ul class="level">
<li class="calibre5"><a class="pcalibre calibre6" href="part0002.html#1T142-4fea6e757c1d4c01a3ff37dcdd3f221e">Blah blah blah</a></li>
The stylesheet files in the AZW3 output are in fact called 0001.css and 0002.css. The reference to page_styles.css should be 0001.css, and stylesheet.css should be 0002.css.