Is it possible to have multiple outlines?

No problem. Actually, you don’t need an invisible heading per say, just metadata.

#outline(target: selector(heading).after(<g1s>).before(<g1e>))
#outline(target: selector(heading).after(<g2s>).before(<g2e>))

#metadata("group 1 start") <g1s>

= My Chapter Group 1

== My Section Group 1

#metadata("group 1 end") <g1e>

#metadata("group 2 start") <g2s>
= My Chapter Group 2

== My Section Group 2

#metadata("group 2 start") <g2e>

As long as your groups are contiguous, it should be ok to write it like this.

3 Likes

Amazing, thanks!

#outline(target: selector(heading).after(<group1start>).before(<group1end>))
#outline(target: selector(heading).after(<group2start>).before(<group2end>), title: none)

#metadata("group 1 start") <group1start>

= Lorem

= Ipsum

#metadata("group 1 end") <group1end>

#metadata("group 2 start") <group2start>

= Dolor

= Sit

#metadata("group 2 start") <group2end>
1 Like

Looks like that was what you wanted! I’m glad we finally got it down haha