Re: [NTG-context] directlua question

2018-12-04 Thread Wolfgang Schuster
Hans van der Meer schrieb am 04.12.18 um 13:29: I am trying to extract something from a string with a \directlua call, the last word of a string in case: \directlua{tex.print(string.match(“This is a string","%s%a$"))} However, the %s%a are not working with the TeX-error “unfinished string

Re: [NTG-context] directlua question

2018-12-04 Thread Hans van der Meer
On 4 Dec 2018, at 13:29, Hans van der Meer wrote: > I am trying to extract something from a string with a \directlua call, the > last word of a string in case: > > \directlua{tex.print(string.match(“This is a string","%s%a$"))} > > However, the %s%a are not working with the TeX-error