This isn't explicitly a question on TeX syntax, but is there a program available (or a flag for latex itself) that will create a complete standalone LaTeX file from one that has multiple dependencies?
I am going to assume a few things:
- You are not doing something funny (with \write18, for example)
- The latex base format is ok for you (meaning you do not have to include it)
- The fonts do not have to be included
First of all, use the
\listfiles command in the preamble.
The include all the latex files listed by this command into your file using the
filecontents package. Pray that my assumptions are ok to whatever non-god you have (the Leslie Lamport Lion?). Send the file.