Because buffers are verbatim-like environments.
-- Giuseppe "Oblomov" Bilotta
Hi, I expected that buffers are verbatimly stored to the file immediately in the time of processing \startbuffer...\stopbuffer thand the file is read processing \getbuffer. But it seems to me that the source file is parsed by texexec to find \startbuffer...\stopbuffer before TeX processing. Is it orrect? If so, how the included files are parsed (mainly if the macro expansion is needed for detection of inclusion)? Vit Zyka
this buffer storage works perfectly: ---- \starttext \startbuffer[TMP] Bla \stopbuffer \getbuffer[TMP] \stoptext ----
but why not this one?
---- \starttext \def\tmp{% \startbuffer[TMP] Bla \stopbuffer } \tmp \getbuffer[TMP] \stoptext ----