Quote:
Originally Posted by Sarmat89
ToCs are created manually, as the text content of the header and the ToC entry is different.
Headings are not used for ToCs as each header contains several paragraphs, with different formatting and positioning.
Only primitive and amateuric books can use HTML built-in styles.
|
How does each header contain several paragraphs?
h? is used by some programs such as Sigil and Calibre for generating the ToC. You can still edit the ToC after it's generated to how you want. But the main thing is that you have a ToC with the chapter headers to start from without having to fully build a ToC by hand.
There are defaults an using them is not a problem if that's what you want. For example, using the default font size of 1em for the body text.
Using h? can have a multi-layer ToC generated automatically if the code is setup correctly.