Since 2 years my installer supports SVG images. This is done by using Inkscape as converter for the
svg images and worked fine until LyX 1.6.3.
Since LyX 1.6.4 this doesn't work and I cannot figure out why. Can you please do me the favor and
apply the attached patch to branch and test out if you can afterwards insert SVG images and compile
the document as PDF?
many thanks and best regards
Uwe
Index: configure.py
===================================================================
--- configure.py (revision 32230)
+++ configure.py (working copy)
@@ -276,6 +276,9 @@
checkViewer('a FEN viewer and editor', ['xboard -lpf $$i -mode EditPosition'],
rc_entry = [r'\Format fen fen FEN "" "%%" "%%" ""'])
#
+ checkViewer('a SVG viewer and editor', ['inkscape'],
+ rc_entry = [r'\Format svg svg "SVG" "" "%%" "%%" "vector"'])
+ #
path, iv = checkViewer('a raster image viewer', ['xv', 'kview', 'gimp-remote', 'gimp'])
path, ie = checkViewer('a raster image editor', ['gimp-remote', 'gimp'])
addToRC(r'''\Format bmp bmp BMP "" "%s" "%s" ""
@@ -537,7 +540,16 @@
checkProg('a Dia -> EPS converter', ['dia -e $$o -t eps $$i'],
rc_entry = [ r'\converter dia eps "%%" ""'])
#
+ checkProg('a SVG -> PDF converter', ['inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o'],
+ rc_entry = [ r'\converter svg pdf "%%" ""'])
#
+ checkProg('a SVG -> EPS converter', ['inkscape --file=$$i --export-area-drawing --without-gui --export-eps=$$o'],
+ rc_entry = [ r'\converter svg eps "%%" ""'])
+ #
+ checkProg('a SVG -> PNG converter', ['inkscape --without-gui --file=$$i --export-png=$$o'],
+ rc_entry = [ r'\converter svg png "%%" ""'])
+
+ #
path, lilypond = checkProg('a LilyPond -> EPS/PDF/PNG converter', ['lilypond'])
if (lilypond != ''):
version_string = cmdOutput("lilypond --version")