[NTG-context] doifmode with a buffer following this command

Willi Egger w.egger at boede.nl
Sun Feb 21 23:23:42 CET 2010


Thanks, does works fine!

Willi
On Feb 21, 2010, at 6:50 PM, Hans Hagen wrote:

> On 21-2-2010 17:59, Willi Egger wrote:
>> Hi,
>>
>> If I use multiple modes I need to use also \doifmode{}{}.
>> Now it appears that it is nomore possible to have \start/stopbuffer
>> inside the second pair of braces of \doifmode. This results in an  
>> error
>> in MKIV and in no output in MKII
>>
>> Runaway argument?
>> \bfc Text \stopbuffer \getbuffer [Test] \stoptext
>> ! File ended while scanning use of \dododowithbuffer.
>> <inserted text>
>> \par
>>
>> Please refer to the attached minimal test file.
>
> best use
>
> \startmode[definedwithin]
> \startbuffer[Test]
>     \bfc Text
> \stopbuffer
> \getbuffer[Test]
> \stopmode
>
> 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
> -----------------------------------------------------------------
> ______________________________________________________________________ 
> _____________
> If your question is of interest to others as well, please add an  
> entry to the Wiki!
>
> maillist : ntg-context at 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
> ______________________________________________________________________ 
> _____________



More information about the ntg-context mailing list