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

Peter Michaux petermichaux at gmail.com
Sat Apr 1 21:48:30 CEST 2006


Hi,

I hope this is an ok place to ask a LaTeX question.

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?

I tried just adding the extension and it didn't seem to work.

\include{codefile.js}

How do I do this?

Thanks,
Peter


More information about the texhax mailing list