I've already searched a lot about it and there seems to be no possible way of increasing the number of files (La)TeX can open. This for example, gives an explanation about the error message. I've also seen some solutions for this problem, but all were specifically for graphics instead of files.
So basically, I want to open several files, currently in total possibly more than 16 (which is the current limit), and together with some packages that also use some slots. There should be at least 2 possible solutions for me:
- Increase the amount of files that can be opened at the same time. This however is an inefficient way of doing things.
- Closing and removing the file completely out of the register. I noticed that using the command
\closein
or\closeout
does not free up space in the register. Opening a new one will still fill the next slot instead of overwriting the closed ones. For me, a max of 2 files are open at once. (I use the packagedatatool
though, that possibly uses at least one slot too)
If anyone has an idea how to implement one of these solutions?
EDIT: Also, the first source mentioned something about e-TeX, Omega and LuaTeX. What are those and how do they help? I tried searching for them too, but I don't seem to understand if they are extensions of TeX or whole new languages. Someone also mentioned something about ConTeXt which seems to be an editor instead of language, according to Google, for Java and C++ etc.
Best Answer
The following shows 50 files being written from plain TeX: