Quote:
Originally Posted by BeckyEbook
@DiapDealer.
Surely this is the situation:
Code:
<h1>Chapter 1</h1>
<p>Blah, blah, blah</p>
<h2>Subchapter A</h2>
<p>Blah, blah, blah</p>
<h2>Subchapter B</h2>
<p>Blah, blah, blah</p>
<h2>Subchapter C</h2>
<p>Blah, blah, blah</p>
After creating TOC/NCX:
Code:
<h1>Chapter 1</h1>
<p>Blah, blah, blah</p>
<h2 id="sigil_toc_id_1">Subchapter A</h2>
<p>Blah, blah, blah</p>
<h2 id="sigil_toc_id_2">Subchapter B</h2>
<p>Blah, blah, blah</p>
<h2 id="sigil_toc_id_3">Subchapter C</h2>
<p>Blah, blah, blah</p>
Identifiers are added only to those headers that are in the same file. And that's a very good thing.
|
Yes. That makes sense. I read his post wrong, I guess. If there's only one header, there's no
need for an id. The toc goes to the top of the file in that case.