Changes

Jump to navigation Jump to search
m
→‎Getting text into LuaTex verbatim: added smoothing words to a sentence.
<code>\obeyspaces</code> &mdash; see the
[[Inside_ConTeXt#Passing_verbatim_text_as_macro_parameter|Inside Context]]
articleon this wiki. Luckily for us, however, ConTeXt provides the
<code>\dostartbuffer[</code><i>name</i><code>][</code><i>bufferstart</i><code>][<i>bufferstop</i><code>]</code>
command, which creates a pair of buffer commands that write their contents verbatim to a named buffer. This buffer can then be accessed in LuaTeX via <code>buffers.content(</code><i>name</i><code>)</code>. Here is an example that shows how the buffer definition and the LuaTex call are combined.

Navigation menu