On 12/5/22 18:30, Hans Hagen via ntg-context wrote: > On 12/5/2022 5:39 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> it would be great to have something like: >> >> \loadsection [1] [2] [3] >> [...] > 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________