flatex – Flatten \input, etc., in a LaTeX file
A C program to flatten a LaTeX file into a single file, by explicitly including the files inclued by \include and \input commands. Also, if BibTeX is being used, then includes the bbl file into the resulting file. The result is therefore a stand-alone LaTeX file that can be emailed to a collaborator.
Maybe you are interested in the following packages as well.
- texdirflatten: Collect files related to a LaTeX job in a single directory
- latexpand: Expand \input and \include in a LaTeX document
- dtxgen: Creates a template for a self-extracting .dtx file
- filecontentsdef: filecontents + macro + verbatim