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

Deepak Jois deepak.jois at gmail.com
Thu Oct 20 11:49:27 CEST 2016


On Thu, Oct 20, 2016 at 2:08 PM, Mojca Miklavec
<mojca.miklavec.lists at gmail.com> wrote:
> (Or you can install the standalone ConTeXt distribution, but don't
> worry about it just yet.)
>
> You can try to save the following to test.cld and process it with
> "context.cld" just to answer yourself whether this could help you in
> any way:
>
> context.setupindenting({"yes", "20pt", "first"})
> context.starttext()
> context("hello world")
> context.par()
> context.input("knuth")
> context.stoptext()
>
> If it does, it might be possible to replace ConTeXt with plain TeX.

I was able to install ConTeXt standalone quite easily. So I will
definitely be checking this out. It will also provide some inspiration
for the API I am trying to build.

However, my goals are a bit different. I would like to build a Lua
based API module for typesetting, that can work nicely with LuaRocks,
and depends on nothing but the LuaTeX binary: no complicated wrapping,
no stub files, no format files, no TEXMF trees etc.


More information about the luatex mailing list