[NTG-context] Defined command troubles

2013-09-05 Thread Xan
Hi, I just want to define a shortcut for framedtexts... That's it: \def\important{\dodoubleempty\doimportant} \def\doimportant[#1][#2]{\bgroup \ifsecondargument \startframedtext[background=#2,frame=off,width=broad]% #1 \else \startframedtext[background=screen,frame=o

Re: [NTG-context] Defined command troubles

2013-09-05 Thread Wolfgang Schuster
Am 05.09.2013 um 17:42 schrieb Xan : > Hi, > > I just want to define a shortcut for framedtexts... > > That's it: > > \def\important{\dodoubleempty\doimportant} > \def\doimportant[#1][#2]{\bgroup >\ifsecondargument > \startframedtext[background=#2,frame=off,width=broad]% > #1 >