Re: [NTG-context] Failing \doifemptyelse

2022-06-24 Thread Willi Egger via ntg-context
Hans, Wolfgang! Thank you so much for your instructions! — This expansion thing is something I will probably never master ;-( Thank you! Kind regards Willi > On 24 Jun 2022, at 05:42, Wolfgang Schuster via ntg-context > wrote: > > Hans Hagen via ntg-context schrieb am 23.06.2022 um 23:00: >>

Re: [NTG-context] Failing \doifemptyelse

2022-06-23 Thread Wolfgang Schuster via ntg-context
Hans Hagen via ntg-context schrieb am 23.06.2022 um 23:00: On 6/23/2022 9:16 PM, Willi Egger via ntg-context wrote: Good evening gurus! Why is the minimal example failing? i.e. executing always the else-branch? \setuppapersize[A6][A6] \setvariables [Test] [Number=] \starttext

Re: [NTG-context] Failing \doifemptyelse

2022-06-23 Thread Hans Hagen via ntg-context
On 6/23/2022 9:16 PM, Willi Egger via ntg-context wrote: Good evening gurus! Why is the minimal example failing? i.e. executing always the else-branch? \setuppapersize[A6][A6] \setvariables [Test] [Number=] \starttext Value of variable Number before te

Re: [NTG-context] Failing \doifemptyelse

2022-06-23 Thread Hans Hagen via ntg-context
On 6/23/2022 9:16 PM, Willi Egger via ntg-context wrote: Good evening gurus! Why is the minimal example failing? i.e. executing always the else-branch? \setuppapersize[A6][A6] \setvariables [Test] [Number=] \starttext Value of variable Number before te

Re: [NTG-context] Failing \doifemptyelse

2022-06-23 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 23.06.2022 um 21:16: Good evening gurus! Why is the minimal example failing? i.e. executing always the else-branch? \doifempty(else) doesn't expand the argument and any argument counts as not empty. To satisfy the command you can expand the first argumen

[NTG-context] Failing \doifemptyelse

2022-06-23 Thread Willi Egger via ntg-context
Good evening gurus! Why is the minimal example failing? i.e. executing always the else-branch? \setuppapersize[A6][A6] \setvariables [Test] [Number=] \starttext Value of variable Number before test: \getvariable{Test}{Number} \crlf \doifemptyel