PRAGMA Advanced Document Engineering
ConTeXt Lua Documents

This manual describes how to generate documents (structure as well as content) using LUA exclusively. Of course you can also embed such code in your normal TEX documents but usign LUA has some advantages when you deal with for instance database output.

paper
en
general/manuals/cld-mkiv.pdf