On 21 May 2017, at 10:21, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
\starttext___________________________________________________________________________________
\expdoifelse{a}{\expdoifelse{x}{x}{a}{b}}
{yes}
{no}
\stoptext
Wolfgang
21. Mai 2017 um 10:14Dear list,
Motivated by this question on TeX.SX https://tex.stackexchange.com/questions/370868 I was fiddling around with the \doifelse conditionals. I noticed that most of them are not expandable, which makes it very difficult to concatenate them. Here a simple example
\starttext
\doifelse{a}{%
\doifelse{x}{x}{a}{b}% <- evaluates to "a" but not expandable
}{yes}{no}
\stoptext
This outputs "no" even though "a" is equal to "a".
Would it be possible to substitute these conditionals by expandable ones? I would volunteer to help make them expandable.
Cheers, Henri
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________