13 Oct
2020
13 Oct
'20
5:16 p.m.
On 10/13/20 5:33 PM, Pablo Rodriguez wrote:
[...] \starttext \ctxlua{ d = [[\env{fname}]] }
d: \cldcontext{d}\\ \doifelse{\cldcontext{d:match("\letterpercent d+")}} {123}{yes}{no} \stoptext [...] 3. I’m trying this on a Linux box, but on Windows I would say that Lua variable "d" is empty.
Just for the record, this sample also works in Windows. The Lua variable isn’t empty and the conditional outputs "yes". Pablo -- http://www.ousia.tk