Changes

Jump to navigation Jump to search
11 bytes removed ,  07:41, 1 June 2022
remove manual syntax, enhance wording
}}
== [[Help:Reference|Syntax]] (autogenerated) ==<table cellspacing="4" cellpadding="2" class="cmd"> <tr> <td colspan="2" class="cmd"syntax>\typebuffer<span class="first" >[buffer]</span></td> </tr> <tr valign="top" class="first"> <td class="cmd">[buffer]</tdsyntax> <td>name of the buffer</td> </trsyntax>setuptyping</tablesyntax>
== Description ==
With <code>\typebuffer[mybuffer]</code> you can get back the verbatim content of buffer <code>mybuffer</code>, which was previously defined by command with {{cmd|startbuffer}}.
To get back typeset the non-verbatim content contents of the buffer , use the command {{cmd|getbuffer}}.
== Example ==
<!-- Please fill in an example if you can -->
<context source="yes" text="produces">
\stoptext
</context>
 
You can show only a part of a source:
 
<texcode>
\startbuffer[BB]
\setupsomething[]
\starttext
% begin
Do something interesting.
%end
\stoptext
\stopbuffer
 
\typebuffer[BB][option=tex,range={begin,end}]
</texcode>
== See also ==
* {{cmd|setuptyping}} – setup also for {{cmd|type}}
* {{cmd|getbuffer}} - Get back the "formatted" content of a buffer.
* {{cmd|input}} - Include the complete content of a text file.

Navigation menu