Am 24.09.2017 um 13:08 schrieb Jürgen Spitzmüller <sp...@lyx.org>:
> 
> Am Sonntag, den 24.09.2017, 12:18 +0200 schrieb Stephan Witt:
>> I think they’ll be quoted automatically.
> 
> At least in the svg2pdftex script, they end unquoted. I expect problems
> if the path to the tmp dir contains spaces.

See method Converters::convert() in Converter.cpp lines 607 and following.

The debugger stopped at line 616 says:

(lldb) print command
(std::__1::string) $123 = "inkscape 
--file=\"/var/folders/1x/zm63s22x7s591xrlgm4rl9v40000gn/T/lyx_tmpdir.miGPzmn52606/lyx_tmpbuf0/\"\"1_Users_stephan_git_lyx_lib_images_buffer-reload.svgz\"
 --export-area-drawing --without-gui 
--export-pdf=\"/var/folders/1x/zm63s22x7s591xrlgm4rl9v40000gn/T/lyx_tmpdir.miGPzmn52606/lyx_tmpbuf0/\"\"1_Users_stephan_git_lyx_lib_images_buffer-reload.pdf\“"

I’d say you see the path names in svg2pdftex unquoted because of the shell is 
removing them.
Nevertheless you get the path names with spaces passed as one argument.

Stephan

Reply via email to