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@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
___________________________________________________________________________________