Command/getbuffer
< Command
Jump to navigation
Jump to search
Revision as of 11:30, 2 July 2011 by Schwefelsaeure (talk | contribs) (Filled this empty page with a description, an example and links to related ConTeXt commands.)
\getbuffer
Syntax
\getbuffer[...] | |
[...] | name |
Description
With \getbuffer[mybuffer]
you can get back the "formatted" content of buffer mybuffer
, which was previously defined by command \startbuffer.
To get back the verbatim content of the buffer use the command \typebuffer.
Example
\starttext \startbuffer[mybuffer] This is a text, which is stored in the buffer with name \quotation{mybuffer}. \stopbuffer \getbuffer[mybuffer] \stoptext
produces
See also
- \input - Include the complete content of a text file (with extension .tex).
- \startbuffer - Define the content of a temporarily buffer.
- \typebuffer - Get back the content of a buffer as verbatim text.