[luatex] Inline Lua scripts

Dirk Laurie dirk.laurie at gmail.com
Thu Sep 19 06:48:47 CEST 2013


2013/9/18 Patrick Gundlach <patrick at gundla.ch>:

>
> 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.


More information about the luatex mailing list