In the directory of my latex source there are input files: input_01.tex, input_02.tex, etc. It is very easy to load them with a for cycle. But how to load them if their names are: input_01_noteone.tex, input_02(something).tex, etc. So I do not know the end of the names in general, but all names starts regularly and there is only one file starting with input_01, input_02, etc.
Asked
Active
Viewed 90 times
1
-
You could probably benefit from How to iterate through the name of files in a folder (possible duplicate). Also, the posts linking to the above question might provide you with help. – Werner Jan 01 '15 at 19:36
-
What OS are you on? – Peter Grill Jan 01 '15 at 19:36
-
How are you iterating through the names in the simple case? – cfr Jan 01 '15 at 19:47
-
The simple case is something like this: \newcounter{mathi}\forloop{mathi}{9}{\value{mathi} < 11}{\input{math_\themathi}\newpage} – user3058699 Jan 02 '15 at 21:07
-
operating system is OSX, but I prefer universal solutions if possible – user3058699 Jan 02 '15 at 21:07