Quote:
Originally Posted by JSWolf
Just use a heading tag for your subchapter header and add in an ID so you can link to it from the ToC.
|
As Jon mentioned, the heading tags are there to denote to what "level" a section of text belongs. You can use CSS to style the headers however you wish. You can either change the tags manually or, as Diap mentioned, use the editor to change them. As long as you have the heading tag, and any IDs, set properly then Sigil will put all the proper links in your ToC for you...
Also, if you want a subsection to begin on it's own page, then just put it in it's own html sheet. You won't need an ID to reference that; you just put the sheet name in any link. (eg <a href="Chapter34.html">) If you want the subsection to follow on the same page, then add the ID. (eg <h4 id="mylink"> <a href="Chapter34.html#mylink">)
Here is an example of using the heading tags to indicate different levels:
Code:
<h1>Cover page </h1>
<h2> Front matter </h2>
<h2> Title page </h2>
<h3> Prologue </h3>
<h3> Chapter 1 </h3>
<h4> Sub-Chapter 1-1 </h4>
<h4> Sub-Chapter 1-2 </h4>
<h3> Chapter 2 </h3>
<h4> Sub-Chapter 2-1 </h4>
<h4> Sub-Chapter 2-2 </h4>
<h3> Chapter 3 </h3>
<h4> Sub-Chapter 3-1 </h4>
<h4> Sub-Chapter 3-2 </h4>
<h3> Epilogue </h3>
<h2> About the Author </h2>
<h2> Also By the Author </h2>
<h2> Copyright </h2>
<h1> Back cover (if used) </h1>