* Can't use buffers inside a block
@ 2010-11-25 14:56 Bernhard Vogel
2010-11-27 8:01 ` Bernhard Vogel
0 siblings, 1 reply; 4+ messages in thread
From: Bernhard Vogel @ 2010-11-25 14:56 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can't use buffers inside a block
2010-11-25 14:56 Can't use buffers inside a block Bernhard Vogel
@ 2010-11-27 8:01 ` Bernhard Vogel
2010-11-27 12:31 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Bernhard Vogel @ 2010-11-27 8:01 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
> ___________________________________________________________________________
> ________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can't use buffers inside a block
2010-11-27 8:01 ` Bernhard Vogel
@ 2010-11-27 12:31 ` Hans Hagen
2010-11-27 13:54 ` Bernhard Vogel
0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2010-11-27 12:31 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can't use buffers inside a block
2010-11-27 12:31 ` Hans Hagen
@ 2010-11-27 13:54 ` Bernhard Vogel
0 siblings, 0 replies; 4+ messages in thread
From: Bernhard Vogel @ 2010-11-27 13:54 UTC (permalink / raw)
To: ntg-context
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
>
> -----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-11-27 13:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-25 14:56 Can't use buffers inside a block Bernhard Vogel
2010-11-27 8:01 ` Bernhard Vogel
2010-11-27 12:31 ` Hans Hagen
2010-11-27 13:54 ` Bernhard Vogel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).