[NTG-context] spaces in file names

Hans Hagen pragma at wxs.nl
Wed Jan 13 21:39:12 CET 2010

On 13-1-2010 20:46, Hans van der Meer wrote:
> I just became aware of the fact that a comma in a directory name like
> "dir, so-and-so" is failing too. No doubt there will be others that are
> allowed in those names but resist \setupexternalfigures. I guess I will
> have to live with that. Though Hans might feel tempted to sort it out
> once and for all.....


   directory=a, b, c

should be

   directory={a, b, c}

or when b, c is a path

   directory={a, {b, c}}

you can try

     if h[iv["global"]] then
         for _, s in ipairs(aux.settings_to_array(pathlist)) do
             if not table.contains(t,s) then
                 t[#t+1] = s


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

More information about the ntg-context mailing list