]> git.lyx.org Git - features.git/commit
Correct converter configuration for inkscape on Mac
authorStephan Witt <stephan.witt@ims-systems.de>
Sat, 5 Jan 2019 23:22:21 +0000 (00:22 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 12:39:55 +0000 (14:39 +0200)
commitdfdf5fa721b5acb7084c0438b7303f68bdaf020c
treee4ead5365b78888f194835a006bfa83577f6b468
parente384ca86ed0b8187ebdd80fe0ffbd5f9131640b8
Correct converter configuration for inkscape on Mac

On Mac the inkscape binary is started by a wrapper script. This script changes the
working directory internally and fails to process files with relative path names.
The previous attempt to solve it was to pass the file names with absolute names
by prepending them with the $$p variable (representing the directory name of the files).
This broke the on screen conversion (used for SVGZ to PNG e.g. in the users guide)
because here the $$p variable is undefined.

Now the wrapper script of LyX which is used to locate the Inkscape.app bundle converts
the relative path names into absolute names and the $$p variable is removed from the
converter definitions for inkscape again.
development/MacOSX/inkscape
lib/configure.py