Hi everyone,
So I've been trying to render headings in a way that would look like this:
= Section 1
== Subsection 1.1 // or just 1
== Subsection 1.2 // or just 2
= Section 2
== Subsection 2.3 // or just 3
(This is actually because these subsections are questions in an exam)
A hacky solution I put up is to use a seperate counter for subsections (or just directly counter(heading.where(level: 2))) and use it in the numbering function directly. This doesn't play well when referencing subheadings.
A better solution I believe would be to modify the counter(heading) counter in a show heading: rule, but then things don't work out very nicely (see below) because headings seem to compute their numbering before the composition with the show rule
Have you had any experience with trying to modify this counting flow? thanks