I want to put some systematic code at beginning and at the end of a luacode environment.
Why this doesn't work.
\documentclass{article}
\usepackage{xparse,luacode}
\NewDocumentEnvironment{LTG}{%
\begin{luacode}
}{%
\end{luacode}
}
\begin{document}
essai
\end{document}