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. Willi
On Sun, 21 Feb 2010, Willi Egger wrote:
If I use multiple modes I need to use also \doifmode{}{}.
\startmode[...] ... \stopmode is better in this case. Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
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 -----------------------------------------------------------------
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@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 ______________________________________________________________________ _____________
participants (3)
-
Hans Hagen
-
Peter Münster
-
Willi Egger