\startbuffer[ABC]% {} Braces at beginning fails with buffer \stopbuffer \starttext \getbuffer[ABC] \stoptext Error message: ! File ended while scanning use of \dododowithbuffer. <inserted text> \par Remove the {}'s at the beginning and all is well. The culprit however is the % in the first line; remove and the braces do no harm. I suspect that a missed newline is the cause. If that cannot be remedied, I advise adding a warning in the manual. Hans van der Meer
On 5-1-2010 15:27, H. van der Meer wrote:
\startbuffer[ABC]% {} Braces at beginning fails with buffer \stopbuffer \starttext \getbuffer[ABC] \stoptext
the buffer content is "all lines between startbuffer and stopbuffer" and both commands hav eto be on a line of their own with startbuffer having an optional name buffers are special in the sense that the input stream is parsed in a special way Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
H. van der Meer
-
Hans Hagen