I need to include a large number of files in my ConTeXt document:
\starttext
\include file1
\include file2
\include file3
\include file4
\include file5
\stoptext
They are all generated by a script, so I don't know how many files there are beforehand are, but they must be included in alpha-numerical order, not randomly.
I found this Including all files within a directory, How to iterate through the name of files in a folder, and many other LaTeX solutions, but cannot find a solution in ConTeXt, and found nothing in the manuals.
How can I include all of the files found in a folder?
\dorecurseor\dostepwiserecurseyou would be OK without the zero-padding. The most relevant wiki pages seem to be this one and this one. – May 01 '19 at 18:17