Changes

Jump to navigation Jump to search
14 bytes removed ,  23:27, 5 October 2010
m
% the buffer called 'dedentedtyping'
\def\stopdedentedtyping
{\ctxlua { userdata.dedentedtyping( buffers.content('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