I'm fairly new to LaTeX. I am using Overleaf for my thesis, and, in order for Overleaf to display my chapters in the right order, I've prepended a number next to each of them:
01-intro.tex
02-background.tex
etc.
Then, chapter-outline file looks like this:
\include{chapters/01-intro}
\include{chapters/02-background}
I was wondering if there was a way include a pattern instead of a filename. Something like:
\include{chapters/*-intro}
\include{chapters/*-background}
So if I change the number in the filename, the include will still work. Is there an existing command to do this? Not super important. Just curious. The documentation I've found doesn't seem to support it.
--shell-escapeflag, or if you use LuaTeX, in which case something can be implemented) – Phelype Oleinik May 04 '21 at 22:57