]> git.lyx.org Git - features.git/commit
Correct converter configuration for inkscape on Mac
authorStephan Witt <switt@lyx.org>
Sat, 5 Jan 2019 23:22:21 +0000 (00:22 +0100)
committerStephan Witt <switt@lyx.org>
Sun, 6 Jan 2019 23:18:52 +0000 (00:18 +0100)
commit432986e8f28e8d42e0ac57e561214cd5ae521578
tree3cfa98ea57659c7e913e4167dea73a65766ceb6d
parent6bba2aa6a883f92d3049d62d31f66362dbeaa623
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.

(cherry picked from commit caa1dd2aeed97330e05c0e96ae7e5bb929b0866d)
development/MacOSX/inkscape
lib/configure.py