Changes

Jump to navigation Jump to search
686 bytes added ,  11:30, 2 July 2011
Filled this empty page with a description, an example and links to related ConTeXt commands.
</table>
== Description ==
== Description == With <code>\getbuffer[mybuffer]</code> you can get back the "formatted" content of buffer <code>mybuffer</code>, which was previously defined by command [[cmd:startbuffer|\startbuffer]]. To get back the verbatim content of the buffer use the command [[cmd:typebuffer|\typebuffer]].
== Example ==
<!-- Please fill in an example if you can -->
 
<context source="yes" text="produces">
\starttext
 
\startbuffer[mybuffer]
This is a text, which is stored in the buffer with name \quotation{mybuffer}.
\stopbuffer
 
\getbuffer[mybuffer]
 
\stoptext
</context>
== See also ==
 * [[cmd:input|\input]] - Include the complete content of a text file (with extension .tex).* [[cmd:startbuffer|\startbuffer]], - Define the content of a temporarily buffer.* [[cmd:typebuffer|\typebuffer]]- Get back the content of a buffer as verbatim text.
[[Category:Reference/en|getbuffer]]

Navigation menu