I would like to create a LaTeX file from several different other LaTeX files that might use different definitions of the same macros or might use incompatible packages.
Is it possible to have within a same LaTeX file different “preambles” corresponding to different parts?
If not, do you suggest any idea?
Here is what I want to achieve.
It is for a webapp: several users type their LaTeX file with their own preamble. They only type the body of the document and maintain two other files: a file of macros and a file of “
Then I want to use their files and put them in a “global” .tex file, with additional content (header, etc.)
I want to make this process automatic.