On 4-8-2010 6:51, Aditya Mahajan wrote:
On Wed, 4 Aug 2010, Hans Hagen wrote:

On 4-8-2010 9:16, Willi Egger wrote:
Hi all,

Any variation of the following construct breaks in MKII as long as there
is no new line after the closing } of the vbox. MKIV does not have this
problem.

\startbuffer[bf4]
\vbox{
test
}\stopbuffer

Please refer to the testfile

\stopbuffer has to be on a line of its own so

}
\stopbuffer

Is it possible to have an "inline" version of \start...stopbuffer. So that

\buffer[options]{...} is similar to

\startbuffer[options]
...
\stopbuffer

The functionality is already there. \type parses the contents correctly,
and
\startbuffer writes it to an external file. Something that combines the
two will
be great.

Such a feature will be handy for inline syntax highlighting with the t-vim
module.

\setbuffer[bla]more bla\endbuffer

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

Reply via email to