1) Sort out the xhtml. Make sure ALL chapter headings (or any other heading you with to appear in the ToC) use the correct <h#> tags depending on their level. Make sure the xhtml is well-formed with correct closing tags (and remember this is xhtml, which has distinct requirements), run it through a validator if necessary.
2) Split your book files as needed.
3) Generate the ToC.
|