On Mon, Dec 24, 2018 at 11:02:10AM +0100, Stephan Witt wrote:
> Am 23.12.2018 um 23:03 schrieb Stephan Witt <st.w...@gmx.net>:
[...]
> > The python script generated on the fly by LyX has two superfluous „$$p“ in
> > front of the real path names of in and out files.
> > 
> > # if os.system(r'inkscape --without-gui --file=$$p' + '"' + infile + '"' +
> > ' --export-png=$$p' + '"' + outfile + '"' + '') != 0:
> > 
> > This is a consequence of the auto detected converter configuration line in
> > ~/Library/Application\ Support/LyX-2.3/lyxrc.defaults
> > 
> > \converter svg        png        "inkscape --without-gui --file=$$p$$i
> > --export-png=$$p$$o"    "",
> > 
> > I’m not sure how this should work - obviously it doesn’t work.
> 
> To be more explicit: it doesn’t work on Mac with inkscape installed. One
> possible work around for you would be to change the converter definitions for
> SVG to PNG and SVGZ to PNG.
> 
> Remove the $$p from the converter parameters (see attached screen shot).

Note that the $$p are explicitly added by configure.py only for Mac (search
for inkscape_fileprefix in configure.py). So, maybe it suffices not to
special case the Mac here?

-- 
Enrico

Reply via email to