![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
5 Dec
2022
5 Dec
'22
11:23 a.m.
On 12/5/22 18:30, Hans Hagen via ntg-context wrote:
[...] it would be great to have something like:
\loadsection [1] [2] [3] [...]
On 12/5/2022 5:39 PM, Pablo Rodriguez via ntg-context wrote: that is not flexible ... we're talking about a rather special application, so what I can add is a simple helper that returns the first and last page of a section
That would be great for me.
keep in mind that it is also a biut fragile as one never know where the last one ends
I wondered whether \doifreference{\lastsectionpage[file][reference]} would make sense here, but this would probably be a way of unnecesarily complicating things... Many thanks for your help, Pablo