Re: [NTG-context] Compare contents of macros via \doif etc. alternatives

2017-07-23 Thread Hans Hagen
On 7/23/2017 8:46 AM, Henri Menke wrote: On 07/23/2017 05:55 PM, Jaroslav Hajtmar wrote: Thanx Hans for reply. also, it depends on what you want to achieve ... maybe comparing macros is not needed at all You have right, that anytime compares are not needed, but for my very needed

Re: [NTG-context] Compare contents of macros via \doif etc. alternatives

2017-07-23 Thread Henri Menke
On 07/23/2017 05:55 PM, Jaroslav Hajtmar wrote: > > Thanx Hans for reply. > >> >> also, it depends on what you want to achieve ... maybe comparing macros is >> not needed at all > > You have right, that anytime compares are not needed, but for my very needed > compares is not working in next

Re: [NTG-context] Compare contents of macros via \doif etc. alternatives

2017-07-22 Thread Jaroslav Hajtmar
Thanx Hans for reply. also, it depends on what you want to achieve ... maybe comparing macros is not needed at all You have right, that anytime compares are not needed, but for my very needed compares is not working in next eight examples. Problem is in expansions macros with optional

[NTG-context] Compare contents of macros via \doif etc. alternatives

2017-07-22 Thread Jaroslav Hajtmar
Hello ConTeXist. Is there any way to evaluate of contents of two macros as I am showing in my minimal example? I know, that problem is in expansion, but I dont know to resolve it. My minimal example consist of piece lua code, because I am solving my problem in mixed codes (TeX & Lua)

Re: [NTG-context] Compare contents of macros via \doif etc. alternatives

2017-07-22 Thread Hans Hagen
On 7/22/2017 3:58 AM, Henri wrote: On Fri, 2017-07-21 at 11:25 +, Jaroslav Hajtmar wrote: Hello ConTeXist. Is there any way to evaluate of contents of two macros as I am showing in my minimal example? I know, that problem is in expansion, but I dont know to resolve it. My minimal example

Re: [NTG-context] Compare contents of macros via \doif etc. alternatives

2017-07-21 Thread Jaroslav Hajtmar
Thanks to Henri for the answer. To I admit, I thought it a bit technically that it would not be technically possible. At least I know why I was tearing my teeth while trying to test ... One more thanx. Jaroslav Hajtmar Dne 22.07.17 3:58, ntg-context za uživatele Henri

Re: [NTG-context] Compare contents of macros via \doif etc. alternatives

2017-07-21 Thread Henri
On Fri, 2017-07-21 at 11:25 +, Jaroslav Hajtmar wrote: > Hello ConTeXist. > Is there any way to evaluate of contents of two macros as I am showing in my > minimal example?  > I know, that problem is in expansion, but I dont know to resolve it. > My minimal example consist of piece lua code,

[NTG-context] Compare contents of macros via \doif etc. alternatives

2017-07-21 Thread Jaroslav Hajtmar
Hello ConTeXist. Is there any way to evaluate of contents of two macros as I am showing in my minimal example? I know, that problem is in expansion, but I dont know to resolve it. My minimal example consist of piece lua code, because I am solving my problem in mixed codes (TeX & Lua) Thanx for