[texhax] including non .tex files in a LaTeX document

Peter Michaux petermichaux at gmail.com
Sat Apr 1 22:09:05 CEST 2006


On 4/1/06, Bryan W. Lepore <bryanlepore at mail.utexas.edu> wrote:
> On Sat, 1 Apr 2006, Peter Michaux wrote:
> > I would like to include a file that has some programming code in my LaTeX
> > document. the file extension is not "tex". Is this possible?
>
> \begin{verbatim}
> copy+paste
> \end{verbatim}

Thanks but I don't want to copy and paste. The code is live and
working and if I make changes then using include will enable the LaTeX
document to be up to date with the code files.

Peter


More information about the texhax mailing list