Command/startbuffer
From ConTeXt wiki
< Command
Jump to navigationJump to search\startbuffer
Syntax (autogenerated)
\startbuffer[...] ... \stopbuffer | |
[...] | name |
\startbuffer ... \stopbuffer |
Syntax
\startbuffer[...] ... \stopbuffer | |
[...] | name |
Description
\startbuffer[buffer-name] Text... \stopbuffer \getbuffer[buffer-name] % insert content of \startbuffer ... \stopbuffer \typebuffer[buffer-name] % type content in verbatim mode
Example
You can store information temporarily for future use in your document with:
\startbuffer[visit] If you want to see what Hasselt has in store you should come and visit it some time. \stopbuffer \getbuffer[visit]
With
\getbuffer[visit]
you recall the stored text. The logical name is optional. With
\typebuffer[visit]
you get back the verbatim contents of the buffer, typset as though inside \starttyping...\stoptyping
.
Buffers are set up with:
\setupbuffer[...][..,..=..,..]
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: