Suppose that I have a large number of
.tex files with names
N = some integer).
I would like to write a LaTeX document, where I set some parameters for example:
howMany = 10, from = 21
and then, when I compile this file I obtain the pdf output which contains the contents of the input files
howMany > N or
from + howMany > N I would like to show some error message in the pdf output.
Is it possible to do it in LaTeX?