I think I understand how Calibre works, but when I try to create a TOC, it won't accept the first term: paragraph or, I've tried page. If I hit the wand and type paragraph, it says it won't accept it. I've been typing paragraph for the first wand, class for the second, and value for the third. The result is that I don't get a TOC and I don't get a book, unless I type the words in the spaces without activating the wands. Then I don't get a TOC but I do get a book. What am I doing wrong?
Here is a copy of my CSS from JEdit. Is there something wrong with that that prevents Calibre from reading it properly? The books I am converting have chapters, appendixes, endnotes, and a bibliography.
Spoiler :
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, pre, table, th, td, tr { margin: 0; padding: 0em; }
p
{
margin-bottom: 0.2em;
text-indent: 2em;
text-align: justify;
}
p.ind
{
margin-left: 2em;
margin-right: 2em;
margin-bottom: 1.0em;
}
p.tight
{
text-indent: -2em;
margin-left: 2em;
margin-bottom: 0.0em;
}
.tind
{
text-indent: -2em;
margin-left: 4em;
margin-bottom: 0.0em;
}
p.headline
{
font-weight: bold;
font-size: 1.0em;
text-indent: 0em;
margin-top:1em;
margin-bottom:0.5em;
}
p.largeheadline
{
font-weight: bold;
font-size: 2em;
text-indent: 0em;
margin-top: 0em;
margin-bottom: 4em;
}
p.chapter
{
font-weight: bold;
font-style: italic;
font-size: 1.25em;
margin-top: 1em;
margin-bottom: 0em;
page-break-before: always;
text-indent: 0em;
text-align: left;
}
p.section
{
font-weight: bold;
font-size: 2.0em;
page-break-before: always;
margin-top:5em;
margin-bottom:1em;
text-indent: 0em;
text-align: center;
}
p.right
{
text-indent: 0em;
text-align: right;
}
p.centered
{
text-indent: 0em;
text-align: center;
}
span.centered
{
text-indent: 0em;
text-align: center;
}
p.copy
{
font-size: 1em;
margin-top:5em;
margin-bottom:0.5em;
page-break-before: always;
text-indent: 0em;
text-align: right;
}
p.titlepage
{
font-weight: bold;
font-size: 2.0em;
page-break-before: always;
margin-top:5em;
margin-bottom:1em;
text-indent: 0em;
text-align: center;
}
p.first
{
margin-bottom: 0.2em;
text-indent: 0em;
text-align: justify;
}
.firstletter
{
font-weight: bold;
font-size: 2.0em;
text-indent: 0em;
}
.chapterfirstsent
{
font-variant: small-caps;
text-indent: 0em;
}
p.subtitle
{
font-weight: bold;
font-size: 2.0em;
margin-top:2em;
margin-bottom:1em;
text-indent: 0em;
text-align: center;
}
p.small
{
font-size: 0.5em;
margin-bottom: 0.8em;
text-indent: 0em;
text-align: justify;
}
ol
{
list-style: decimal inside;
margin-bottom: 1em;
}
sup
{
font-size:0.5em;
vertical-align:super;
}
</style>
<title>Unknown</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
Thank you!
Leigh