Can't use buffers inside a block
Hi all, When I use a buffer inside a block, this error message appears: Runaway argument? \st\ETC.t.\stopbuffer \getbuffer \dostopnormalblock \egroup \par ! File ended while scanning use of \dododowithbuffer. When I define the buffer outside the block, it works. Best regards, Bernard \defineblock[Fröbel] \starttext \beginFröbel \startbuffer Some text. \stopbuffer \getbuffer \endFröbel \useblocks[Fröbel] \stoptext
Hi all, The latest beta gives the same error. TIA, Bernard On Thursday 25 November 2010, Bernhard Vogel wrote:
Hi all,
When I use a buffer inside a block, this error message appears: Runaway argument? \st\ETC.t.\stopbuffer \getbuffer \dostopnormalblock \egroup \par ! File ended while scanning use of \dododowithbuffer.
When I define the buffer outside the block, it works.
Best regards,
Bernard
\defineblock[Fröbel]
\starttext
\beginFröbel \startbuffer Some text. \stopbuffer \getbuffer \endFröbel
\useblocks[Fröbel]
\stoptext
___________________________________________________________________________ ________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________ ________
On 27-11-2010 9:01, Bernhard Vogel wrote:
Hi all,
The latest beta gives the same error.
TIA,
Bernard
On Thursday 25 November 2010, Bernhard Vogel wrote:
Hi all,
When I use a buffer inside a block, this error message appears: Runaway argument? \st\ETC.t.\stopbuffer \getbuffer \dostopnormalblock \egroup \par ! File ended while scanning use of \dododowithbuffer.
When I define the buffer outside the block, it works.
it's somewhat tricky as we need to feed back into tex and do so under some catcode assumptions; i now use a different approach can you check again in a while (uploading now) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
It works! Thanks, Bernard On Saturday 27 November 2010, Hans Hagen wrote:
On 27-11-2010 9:01, Bernhard Vogel wrote:
Hi all,
The latest beta gives the same error.
TIA,
Bernard
On Thursday 25 November 2010, Bernhard Vogel wrote:
Hi all,
When I use a buffer inside a block, this error message appears: Runaway argument? \st\ETC.t.\stopbuffer \getbuffer \dostopnormalblock \egroup \par ! File ended while scanning use of \dododowithbuffer.
When I define the buffer outside the block, it works.
it's somewhat tricky as we need to feed back into tex and do so under some catcode assumptions; i now use a different approach
can you check again in a while (uploading now)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
participants (2)
-
Bernhard Vogel
-
Hans Hagen