@VirgoGirl: Do the missing headings have the same title as other headings? Somewhere along the way the two generate from headings options was changed to only create one entry for identical headings at the same level and nested under the same parent.
So, if the headings looked like:
Code:
<h1>Chapter 1</h1>
<h2>Sub Chapter a</h2>
<h3>Bert's POV</h3>
<h3>Ernies's POV</h3>
<h3>Bert's POV</h3>
<h3>Ernies's POV</h3>
<h3>Bert's POV</h3>
<h3>Ernies's POV</h3>
<h2>Sub Chapter b</h2>
<h3>Bert's POV</h3>
<h3>Ernies's POV</h3>
<h3>Bert's POV</h3>
<h3>Ernies's POV</h3>
<h3>Bert's POV</h3>
<h3>Ernies's POV</h3>
<h2>Sub Chapter c</h2>
<h2>Sub Chapter d</h2>
Using either of the Generate ToC from headings options will produce:
Code:
Chapter 1
Sub Chapter a
Bert's POV
Ernies's POV
Sub Chapter b
Bert's POV
Ernies's POV
Sub Chapter c
Sub Chapter d
There has been some discussion on this. The change was made for a reason, but I don't remember no why. The change seemed to break the ToC in a few books I have, but when I checked them, the nesting was usually wrong. I think the only ones left were something like the above where I wasn't sure that the lowest level should appear in the ToC. For these, I used generate from xpath option. This doesn't eliminate duplicate titles.