Re: [NTG-context] Typing in new command problems

2003-09-24 Thread ^Nitram^
Hi, > > Is it impossible? > Is this a real question? No ;) But the real should be '... for newbie' :) [cut] Thank you very much. I did it in this way: \defineframedtext[Frame][width=broad,bodyfont=9pt,align=right] %but align is a little strange = see new post Aligment? \def\Command#1#2 {\set

Re: [NTG-context] Typing in new command problems

2003-09-23 Thread Hans Hagen
At 16:00 23/09/2003 +0200, you wrote: Hi, I try to define new command with typing in this way: \def\Command#1% { \framed[options] { \starttyping #1 \stoptyping } } and use it in this way: \Command{\getbuffer[name]} but I have an error: ! Argument of \copyverbatimline has an extra }. If I

[NTG-context] Typing in new command problems

2003-09-23 Thread ^Nitram^
Hi, I try to define new command with typing in this way: \def\Command#1% { \framed[options] { \starttyping #1 \stoptyping } } and use it in this way: \Command{\getbuffer[name]} but I have an error: ! Argument of \copyverbatimline has an extra }. If I change to \def\Command#1#2% I have: !