Re: [NTG-context] getmarking and empty chapter number

2011-05-24 Thread Oliver Buerschaper
%D \macros %D {doiftextelse, doiftext} %D %D When \type {\doifelse} cum suis hopelessly fail, for %D instance because we pass data, we can fall back on the next %D macro: %D %D \starttyping %D \doiftextelse {data} {then branch} {else branch} %D \doiftext {data} {then branch} %D

Re: [NTG-context] getmarking and empty chapter number

2011-05-23 Thread Aditya Mahajan
On Mon, 23 May 2011, Oliver Buerschaper wrote: Hi all, I'm just trying to wrap my mind around why the following doesn't work as I expect: -- \setupheadertexts [] [{\doifsomething{\getmarking[sectionnumber]}{\getmarking[sectionnumber]\enskip}\getmarking[section]}]