My latex document consists of hundreds of TeX files that are loaded by the main file using the \input command. I need to submit the TeX code to the publisher of a scientific journal for publishing. Is there a way of running the original TeX file, loading all the \input's and produce one TeX file with the code loaded by \input in the file?

Browse other questions tagged or ask your own question.