Difference between revisions of "Command/typebuffer"
< Command
Jump to navigation
Jump to search
m (Text replace - "[[Category:Commands|" to "== ConTeXt-Forum == {{Forum|{{SUBPAGENAME}}}} [[Category:Commands|") |
m (Text replace - "ConTeXt-Forum " to "Help from ConTeXt-Forum ") |
||
Line 42: | Line 42: | ||
* [[cmd:startbuffer|\startbuffer]] - Define the content of a temporary buffer. | * [[cmd:startbuffer|\startbuffer]] - Define the content of a temporary buffer. | ||
− | == ConTeXt-Forum == | + | == Help from ConTeXt-Forum == |
{{Forum|{{SUBPAGENAME}}}} | {{Forum|{{SUBPAGENAME}}}} | ||
[[Category:Commands|typebuffer]] | [[Category:Commands|typebuffer]] |
Revision as of 02:26, 15 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.