Quote:
Originally Posted by Kivgaen
Hmm...
So what if your .epub document was generated with automatic styles, and uses the following code:
Code:
<p class="h1"> Heading 1</p>
<p class="h2">Heading 2</p>
<p class="tf">First paragraph without any indent</p>
<p class="tx">Second paragraph, with indent.</p>
with associated styles already generated...
If I already have the above structure, and I don't want to screw it up or mess with the way my document looks, THEN how would I generate a TOC?
|
Someone else will have to step in with the definitive answer, but my guess is you need to change the stylsheet:
make a h.h1 class out of the p.h1 class and change the p tag pairs to h1 in your book (repeat for h2 and h3

)