View Single Post
Old 02-08-2012, 02:42 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
I assume you already recreated the TOC and that validation gives no error right? I can imagine that this is an issue if I understand correctly. It is like having leaves without a branch. Let's see if I understand you correctly.

You want:
Code:
<h1>.....
    <h3>....
  <h2>...
which doesn't work. The following 'work-around' does work:
Code:
<h1>
  <h2>work around
    <h3>....
  <h2>
The tree is intact.

If this is what you want, you can solve it in another way. In your document which contains the <h3> put a hidden <h2> tag in front of it and regenerate the TOC. It is not visible, but is in the structure. I assume there will be an empty line in the TOC for that empty header (you could solve it with the name attribute). You might want to delete the entry from the TOC, but I have the feeling that will not work.

Last edited by Toxaris; 02-08-2012 at 02:43 AM. Reason: indents automatically removed...
Toxaris is offline   Reply With Quote