I am currently working on a larger document that has a number in the top left of every page to give you an idea what part of the document you are currently in. Not as in the page number, but rather regarding the content structure.
This screenshot may give you a better example:
The number shall only increase on pages with a new heading, however. Not every page. This for example is page 2 of the document, which however still belongs to my first heading (would you call these chapters? Sections? Idk ... I am lost for a better term here):
Now the problem I have is, that I don't know how to update it accordingly:
As I may have hinted above already, I thought one might be able to do that using chapter / section numbering? But I am having a hard time figuring out whether this is even the right way of going about that or if there is another / better method. Especially one that is easy to update if I were to add more content later-on.