Hierarchical numbering per chapter

Hi,

I am new to Scrivener and struggling with hierarchical numbering of the chapters, sections, subsections, subsubsections…etc.

When I use <$hn> in level 1, 2, 3, the numbers continue counting for each level indepenendly, e.g.,

Chapter 1, Section 1.1, Section 1.2, Section 1.3
Chapter 2, Section 2.4, Section 2.5, Section 2.6

However, in scientific publication the numbering should be:
Chapter 1, Section 1.1, Section 1.2, Section 1.3
Chapter 2, Section 2.1, Section 2.2, Section 2.3
In every new chapter, the hierarchical numbering of the next level should again from 1.

I tried using the <$Hn> and other tags but it’s not possible to get this numbering.
Do have any suggestions, how to solve this problem ?

You say you are using hn for all levels, but it looks like you might be using a simple <$n> counter for your top-level (looks like chapter level) instead of another <$hn>. If you want this feature to function properly, you’ll need to use it from the top of the hierarchy on down.