Re: [NTG-context] How do I test for empty labeltext?

2011-10-25 Thread Mojca Miklavec
On Mon, Oct 24, 2011 at 20:41, Hans Hagen pra...@wxs.nl wrote: On 24-10-2011 19:41, Mojca Miklavec wrote: Hello, The following code \setuplabeltext[test=] test is \doifemptyelse{\labeltext{test}}{empty}{not empty} doesn't work as intended for the reasons that I approximately understand

Re: [NTG-context] How do I test for empty labeltext?

2011-10-25 Thread Hans Hagen
On 25-10-2011 11:26, Mojca Miklavec wrote: On Mon, Oct 24, 2011 at 20:41, Hans Hagenpra...@wxs.nl wrote: On 24-10-2011 19:41, Mojca Miklavec wrote: Hello, The following code \setuplabeltext[test=] test is \doifemptyelse{\labeltext{test}}{empty}{not empty} doesn't work as intended for the

Re: [NTG-context] How do I test for empty labeltext?

2011-10-25 Thread Aditya Mahajan
On Tue, 25 Oct 2011, Mojca Miklavec wrote: you can try \doiftextelse instead Thank you very much. This works fine. This should probably be added to http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions at least (possibly to reference next to labels as well), but I'm not sure

[NTG-context] How do I test for empty labeltext?

2011-10-24 Thread Mojca Miklavec
Hello, The following code \setuplabeltext[test=] test is \doifemptyelse{\labeltext{test}}{empty}{not empty} doesn't work as intended for the reasons that I approximately understand (not exactly, but I understand that there might be a lot of weird stuff returned when I ask for labeltext).

Re: [NTG-context] How do I test for empty labeltext?

2011-10-24 Thread Hans Hagen
On 24-10-2011 19:41, Mojca Miklavec wrote: Hello, The following code \setuplabeltext[test=] test is \doifemptyelse{\labeltext{test}}{empty}{not empty} doesn't work as intended for the reasons that I approximately understand (not exactly, but I understand that there might be a lot of weird