Re: [NTG-context] why does not this style work?

2008-10-26 Thread Zhichu Chen
Hi Ruini, by the way, maybe this is what you wanted: == \unexpanded\def\mybig {\dosingleempty\dosanhao} \unexpanded\def\dosanhao[#1]% {\iffirstargument \switchtobodyfont[#1]% \else \switchtobodyfont[24pt]% \fi} \setuphead [chapter] [style=

Re: [NTG-context] why does not this style work?

2008-10-26 Thread Zhichu Chen
Hi Ruini, Since \dosanhao has nothing to do with it's argument, why not just define like \def\mybig {\switchtobodyfont[24pt]} On Sun, Oct 26, 2008 at 3:55 PM, Ruini Xue <[EMAIL PROTECTED]> wrote: > I want to use a dedicated font size for the chapter title, so I wrote this > piece of code: > > %

[NTG-context] why does not this style work?

2008-10-26 Thread Ruini Xue
I want to use a dedicated font size for the chapter title, so I wrote this piece of code: %% \def\mybig% {\dosingleempty\dosanhao} \def\dosanhao[#1]% {\switchtobodyfont[24pt]} \setuphead [chapter] [style=\mybig] \starttext \chapter{hello, world} \stoptext %%%