[NTG-context] help with filename containing spaces

2020-10-17 Thread Pablo Rodriguez
Dear list, I have this sample: \setupinteraction[state=start] \starttext \def\cB{file.pdf} \def\cC{file with spaces.pdf} %~ \def\PathName{\cldcontext{[[\env{completepath}]]}} \def\PathName{% \cldcontext{string.gsub([[\env{completepath}]], "", "/")}} no

Re: [NTG-context] content of xml node (element) in lua

2020-10-17 Thread Jano Kula
On Sat, 17 Oct 2020 at 12:02, Hans Hagen wrote: > On 10/17/2020 12:16 AM, mf wrote: > > (sorry, I sent it before refining it) > > > > Il 16/10/20 20:57, Jano Kula ha scritto: > >> Hello! > >> > >> Processing XML I want to manipulate content of XML elements inside Lua. > >> > >> I can define the

Re: [NTG-context] content of xml node (element) in lua

2020-10-17 Thread Hans Hagen
On 10/17/2020 12:16 AM, mf wrote: (sorry, I sent it before refining it) Il 16/10/20 20:57, Jano Kula ha scritto: Hello! Processing XML I want to manipulate content of XML elements inside Lua. I can define the Lua function xml.functions.name (t), where processing