Changes

Jump to navigation Jump to search
m
\def\stopdedentedtyping
{\ctxlua
{userdata.dedentedtyping(buffers.contentgetcontent('dedentedtyping'))}
</texcode>
Unlike MkII, where the contents of a buffer were written to an external file, in MkIV buffers are stored in memory. Thus, with LuaTeX is really simple to manipulate verbatim text: pass the contents of the environment to Lua; use Lua functions to do the text-manipulation; and in Lua call [[cld|<code>context.something()</code>]] functions to produce the ConTeXt code you want.

Navigation menu