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

Deepak Jois deepak.jois at gmail.com
Thu Oct 20 11:38:39 CEST 2016


On Thu, Oct 20, 2016 at 2:17 PM, David Carlisle <d.p.carlisle at gmail.com> wrote:
> You don't need a file, although you do need some tex code,
>  this produces a pdf with hello world if I save your lua as zz.lua

Thank you for that. I had not realised that it is possible to pass in
TeX commands as arguments.

I should really read the help output more carefully (or maybe this
should be in the manual?).

I managed to reduce the size of my wrapper script[1] using this
method. It would be nice to get  rid of the rest of it as well.

Deepak

[1]: https://github.com/deepakjois/ufy/commit/4ab51c761a5be3750281cbbcc9ab9bc45d17c265


More information about the luatex mailing list