Dirk Laurie schrieb:
One solution to the problem of keeping the code in one file would be to modify verbatim.sty so that it also has\begin{verbatimoutput}{myfile.lua} \end{verbatim} This is the sort of thing that someone has surely already done.
I think the package is named filecontents or something like that...
HTH,
Susan
