Re: [NTG-context] comparing strings

2015-09-17 Thread Pablo Rodriguez
On 09/17/2015 07:26 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 17. September 2015 18:47 >> [...] >> \unexpanded\def\MyUpper#1% >> {\ctxlua{document.gouppercase("#1")}} >> >> \starttext >> \doif{\MyUpper{adfalkjfaeñf}}{\MyUpper{aDFAlkjfaeñf}}{equal}{unequal} >> >> Why are are the first two stri

Re: [NTG-context] comparing strings

2015-09-17 Thread Wolfgang Schuster
Pablo Rodriguez 17. September 2015 18:47 Dear list, I have the following sample: \startluacode function document.gouppercase(str) tex.print(str:upper()) end \stopluacode \unexpanded\def\MyUpper#1% {\ctxlua{document.gouppercase("#1")}} \starttext \doif{\MyUpper{adfalkjfaeñ

[NTG-context] comparing strings

2015-09-17 Thread Pablo Rodriguez
Dear list, I have the following sample: \startluacode function document.gouppercase(str) tex.print(str:upper()) end \stopluacode \unexpanded\def\MyUpper#1% {\ctxlua{document.gouppercase("#1")}} \starttext \doif{\MyUpper{adfalkjfaeñf}}{\MyUpper{aDFAlkjfaeñf}}{equal}{unequal} \ctxlua{if