View Single Post
Old 03-27-2012, 02:02 PM   #1
griffitts
Junior Member
griffitts began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2012
Device: Nook
Endnotes suddenly showing up in TOC

I've been creating an endnote chapter in various books like so:

Code:
<h2 class="chapter">Endnote</h2>

<p id="en1" class="noindent">[1] endnote text...</p>

<p class="center spaceabove">(<a href="#pn1">back</a>)</p>
This has worked fine in the past. From the above html, only the word "Endnote" shows up as an entry in the TOC.

In the last two books I have done, however, extra things have been appearing in the TOC. Endnote appears as it should, but the numeral 1 from:

Code:
...[1] endnote text...
and the word "back" from:

Code:
<a href="#pn1">back</a>
now also appear as entries in the TOC.

Comparing these last 2 books to previous successful ones, I am using the exact same CSS in the header of the file and I'm marking the endnotes up in the exact same way. I haven't touched the structure detection section in Calibre.

Not sure what's going on.
griffitts is offline   Reply With Quote