[NTG-context] \doif(not)empty(else)

2009-02-08 Thread Alan Stone
Hi, Re: http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions What kind of emptyness do \doifempty, \doifnotempty, \doifemptyelse test ? \def\ISay{} %\def\ISay{Boe!} \starttext \doifemptyelse{\ISay}{I say sht}{I say \ISay} \blank \doif{\ISay}{}{I say sht}

Re: [NTG-context] \doif(not)empty(else)

2009-02-08 Thread Peter Münster
On Sun, 8 Feb 2009, Alan Stone wrote: Re: http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions What kind of emptyness do \doifempty, \doifnotempty, \doifemptyelse test ? Hello Alan, Here a small test file: \def\Empty{} \def\Macro#1{argument is \doifemptyelse{#1}{empty}{full}}

Re: [NTG-context] \doif(not)empty(else)

2009-02-08 Thread Wolfgang Schuster
Peter Münster schrieb: On Sun, 8 Feb 2009, Alan Stone wrote: Re: http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions What kind of emptyness do \doifempty, \doifnotempty, \doifemptyelse test ? Hello Alan, Here a small test file: \def\Empty{} \def\Macro#1{argument is