2013/9/18 Patrick Gundlach <[email protected]>:

>
> http://tex.stackexchange.com/a/33102/243

The top line there says: use

\directlua{  require("myfile")  }

which also needs separate files.

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.

Reply via email to