Am 04.01.2019 um 17:05 schrieb Enrico Forestieri <for...@lyx.org>: > > On Fri, Jan 04, 2019 at 04:00:51PM +0100, Stephan Witt wrote: >> >> The inkscape binary on Mac is a shell script inside the Inkscape.app bundle. >> It has the drawback that it internally does a cd (change directory) and later >> tries to access the files given from command line. This must fail with >> relative >> path name arguments. One may call it a bug of the inkscape script but it’s >> as it >> is. The author of the script did it to solve another problem with the >> Inkscape >> application. > > Then why not using a wrapper that takes the specified paths, makes them > absolute by prefixing the current directory if they are relative and then > calls the inkscape shell script?
Because it’s tedious and error prone to handle all possible parameters and care for spaces in path names and don’t change other parameters. Because it’s a work-around for a flaw in LyX converters. BTW, I fear Rscript conversion is broken already too. Stephan