Quote:
Originally Posted by automa
Also, before automatically putting headings around the chapter titles, how can you make the chapter description in one line with the word "Chapter" so that you can see the description of the chapter in the table of contents, instead of just "Chapter i, chapter ii," etc.
|
Just to get you headed in the right direction, consider this. Assume you have a 2-line chapter number and title and you want both to appear in the Table of Contents.
Quote:
<h2>Chapter 1</h2>
<h3>A Dark and Stormy Night</h3>
|
If you change things around a little, like this:
Quote:
<h2 title="Chapter 1: A Dark and Stormy Night">Chapter 1</h2>
<h3 class="sigil_not_in_toc">A Dark and Stormy Night</h3>
|
This will give you a single line, via the "title", in the Table of Contents and two separate lines, individually styled via the stylesheet.css, in the display.