Difference between revisions of "Command/typebuffer"
< Command
Jump to navigation
Jump to search
m (Text replace - "Category:(.*)" to "Category:Command/$1") |
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}") |
||
Line 17: | Line 17: | ||
== Description == | == 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 <code>\typebuffer[mybuffer]</code> you can get back the verbatim content of buffer <code>mybuffer</code>, which was previously defined by command {{cmd|startbuffer}}. |
− | To get back the non-verbatim content of the buffer use the command | + | To get back the non-verbatim content of the buffer use the command {{cmd|getbuffer}}. |
== Example == | == Example == | ||
Line 38: | Line 38: | ||
== See also == | == See also == | ||
− | * | + | * {{cmd|getbuffer}} - Get back the "formatted" content of a buffer. |
− | * | + | * {{cmd|input}} - Include the complete content of a text file. |
− | * | + | * {{cmd|startbuffer}} - Define the content of a temporary buffer. |
== Help from ConTeXt-Mailinglist/Forum == | == Help from ConTeXt-Mailinglist/Forum == |
Revision as of 06:02, 23 March 2012
\typebuffer
Syntax
\typebuffer[buffer] | |
[buffer] | name of the buffer |
Description
With \typebuffer[mybuffer]
you can get back the verbatim content of buffer mybuffer
, which was previously defined by command \startbuffer.
To get back the non-verbatim content of the buffer use the command \getbuffer.
Example
\starttext \startbuffer[mybuffer] This is a text, which is stored in the buffer with name \quotation{mybuffer}. \stopbuffer \typebuffer[mybuffer] \stoptext
produces
See also
- \getbuffer - Get back the "formatted" content of a buffer.
- \input - Include the complete content of a text file.
- \startbuffer - Define the content of a temporary buffer.
Help from ConTeXt-Mailinglist/Forum
All issues with: