Command/grabbufferdata

Unofficial ConTeXt Wiki mirror

Last modified: 2024-04-14

Syntax (autogenerated)

\grabbufferdata[...][...][...][...]
[...] category
[...] name
[...] name
[...] name

Syntax

\grabbufferdata[...][...][...]
[...] name of the buffer to store the text
[...] string where the buffer contents start
[...] string where the buffer contents end

Description

This is a slightly low-level command to grab user input and store it in a buffer. It is different from \startbuffer because it allows one to use custom buffer start and end commands, instead of \startbuffer[X]...\stopbuffer. Use this command by defining the desired buffer start command to invoke \grabbufferdata.

One might think that if the buffer start command calls \grabbufferdata, the latter does not need to know the former. This is an understandable thought, but in the case of buffer nesting the information is still required.

Example

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: