Quote:
Originally Posted by exaltedwombat
Generate TOC looks for text items that are designated as Headers, that is ones inside <h1></h1>, <h2></h2> etc. tags. If the body of a chapter file starts with something like
<h1>Chapter 1. The Beginning</h1>
the TOC generator will have something to work with.
|
Thanks, I think I understand a little more about how it works now.
I have had a look at the book that was not working and I see that the chapters all start with p class tags like this - <p class="h2" id="chapter2">Chapter 2</p>
So if I understand you correctly if I were to change all of them to 'h' class tags the ToC generator would pick them up, right?