latex-merge merge collection of latex source into a single latex file. cat root.tex | ./latex-merge > merged.tex