[luatex] Building a PDF with Lua code, without a TeX stub

Patrick Gundlach patrick at gundla.ch
Thu Oct 20 08:47:50 CEST 2016


Hello Deepak,

as far as I know, there is no such thing as a "Lua only" mode with TeX capabilities enabled (but I can't give an authoritative answer). I have the same issue and my stub is the following

https://github.com/speedata/publisher/blob/develop/src/tex/publisher.tex

---------
\catcode`\{=1
\catcode`\}=2
\directlua{require("filename")}
\end
---------

I use LuaTeX 0.79 with luatex --ini ... and set the output mode in a Lua file.

While I'd really appreciate a "no TeX mode", I don't have any problems with this setup. It works just fine and never gets in my way.

Patrick






More information about the luatex mailing list