Thread: TOC incomplete
View Single Post
Old 06-20-2022, 11:02 AM   #5
Gunivortus
Enthusiast
Gunivortus began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Apr 2019
Device: Onyx Boox Note 3
Quote:
Originally Posted by Turtle91 View Post
It works fine in my testing. Perhaps you can provide a little more information - what Sigil version - what OS - an example of the html code (<h2> tags) that isn't working - any applicable CSS. That would help us to help you much better.
Wrote the text in LibreOffice, all parts are attributed to Styles.
Exported it to epub3.
Opened it in Sigil, version Sigil-1.9.10-Windows-x64, running under Windows 11.

This is the first chapter title in the html and it is found creating the TOC:

<h2 class="para7"><span class="span1">Omdat een voorwoord of inleiding nu eenmaal hoort ...</span></h2>

This is the second chapter title and it not found for the table of contents:

<h2 class="para7"><span class="span1">… </span><span class="span1">over het boek en zijn titel</span></h2>

It is the same with all next chapters....

The TOC.xhtml shows:

<body>
<div class="sgc-toc-title">Table of Contents</div>
<div class="sgc-toc-level-1">
<a href="section0001.xhtml">Eike van Repgow en zijn Saksenspiegel</a>
</div>
</body>
Gunivortus is offline   Reply With Quote