[Tuglist] Expanding \input{files}

tuglist@tug.org.in tuglist@tug.org.in
Thu, 11 Apr 2002 09:35:27 +0530 (IST)

> Is there any tool or way (other than "insert file") to
> expand files included by \input.  For example if master.tex
> has following statements:
> \input{file1}	\input{file2}	\input{file3}
> and further, there are two \input statements in each of
> file1, file2 and file3.
> Is it possible to view content of all these 6 files in
> master.tex

your question is not clear. you cant view the input files in master.tex
unless you expand but if you are asking at the dvi file level after
running latex the answer is yes and you dont need any special tools. if
you run latex on master.tex the output will have done all these inputs
at different levels to produce the dvi file.