[dev-context] Quoting problems in grph-con.lua

Hans Hagen j.hagen at xs4all.nl
Sun Apr 21 15:34:50 CEST 2019


On 4/21/2019 1:04 PM, Kevin Boulain wrote:
>> I'm a bit reluctant to change this as it can break existing workflows.
> 
> I understand the motivation but I don't understand the technical
> reason. This seems to be a simple shell quoting problem to me.
> I'm an inexperienced ConTeXt/TeX user though, so feel free to tell me
> I'm utterly wrong :)
> 
>> What if you use "%[oldname]%" and don't feed an quoted argument?
> 
> I'm not sure I understood: I'm not feeding a quoted argument,
> grph-con.lua introduces superfluous quotes, breaking the proper
> quoting introduced later by util-sbx.lua (since the shell is used to
> spawn the process).
> Let me try to explain it a little bit better.
Ok, but then the issue is not the name only

     \enabletrackers[sandbox]

the sandbox runner always wraps so then we also need to remove quotes in

             --export-%format%=%newname%

and such. (The original runners didn't do escaping.)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the dev-context mailing list