Hi,
It works but if I use \startnitram \getbuffer \stopnitram
I have as result: \getbuffer ;)
right, that is verbatim mode :)
I would like to define some code in buffer and use it as example (typing this code) and show how it works (use this code). I can use \getbuffer and \typebuffer, but I would like to put code into a 'nice' frame ;)
I wasn't able to notice what you want in the first mail. Sorry.
I can do it by \framed[number of options]{\typebuffer}, but I would like to do it in better way - by defining own command and use \Command{\getbuffer}.
Is it impossible?
Is this a real question? \setuptyping[before=\startMyFrame,after=\stopMyFrame] \defineframedtext [MyFrame] [width=fit] \starttext \startbuffer [nitram] Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam a sapien. Fusce commodo. Nunc eleifend leo vitae magna. \stopbuffer \getbuffer [nitram] \typebuffer[nitram] \stoptext If you really want your \Command: \define[1]\Command% {\typebuffer[#1]} \Command{nitram} Patrick -- Silent is the goldfish in its bowl