Ok, I forgot one really important bit of information - you
must not set a
master stylesheet on the target (or in Project Properties), it needs to be set as
(default).
If you do use a master stylesheet, there's a bug in Flare that for some reason breaks the TOC depth / mc-heading-level from working in this kind or setup. It's a wierd bug that I reported to MadCap many many years ago, but I doubt it'll ever be fixed.
So if your topics contain both
h1.sectionTitle and
h1, then set h1 to heading level 0 (so they're not included in the contents), which leaves just h1.sectionTitle as heading level 1.
h1, h2, h3, h4, h5, h6 { mc-heading-level: 0;}
h1.sectionTitle { mc-heading-level: 1;}
h1.TOC2 { mc-heading-level: 2;}
h1.TOC3 { mc-heading-level: 3;}
h1.TOC4 { mc-heading-level: 4;}
h1.TOC5 { mc-heading-level: 5;}
This does work. I've tried it.
In the output, the h1.sectionTitle style is mofified as follows, according to TOC level:
1> h1.sectionTitle
2>> h1.TOC2
3>>> h1.TOC3
4>>>> h1.TOC4
5>>>>> h1.TOC5
So you just need to style h1.TOC2, etc. to look the same as h1.sectionTitle.