
\documentclass{article}
  \usepackage[width=8cm]{geometry}
  \pagestyle{empty}

\begin{document}
On sait compter:
\directlua{
  for x=1,12 do
    tex.print(x)
  end
}%
.
\end{document}
