Changes

Jump to navigation Jump to search
820 bytes added ,  13:25, 13 October 2019
no edit summary
}}
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>getbuffer</syntax>
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\getbuffer<span class="first" style="color:red;">[...buffer]</span></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[...buffer]</td> <td>name of the buffer</td>
</tr>
</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}}. To get back the verbatim content of the buffer use the command {{cmd|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:startbuffer|\startbuffer]]
* {{cmd|input}} - Include the complete content of a text file.* {{cmd|startbuffer}} - Define the content of a temporary buffer.* {{cmd|typebuffer}} - Get back the content of a buffer as verbatim text. == Help from ConTeXt-Mailinglist/Forum ==All issues with:{{Forum|{{SUBPAGENAME}}}} [[Category:ReferenceCommand/enBuffers|getbuffer]]

Navigation menu