Changes

Jump to navigation Jump to search
675 bytes added ,  13:25, 13 October 2019
no edit summary
<!-- please remove this and the following line if you have checked this page -->
{{Reference_Cleanup}}
{{Reference
|name=getbuffer
}}
== [[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 == see With <code>\startbuffergetbuffer[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 ==
<!-- something like [[cmd:goto|\goto]] -->
* {{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