sa...@lyx.org wrote: > Author: sanda > Date: Wed Nov 25 22:46:33 2009 > New Revision: 32201 > URL: http://www.lyx.org/trac/changeset/32201 > > Log: > Fix bug #3349 - SVG support in Lyx > You wouldn't believe it, the convertor was already on my box ;) > Credit goes to Carl Worth. > > Modified: > lyx-devel/trunk/lib/configure.py
1.6.6? > > Modified: lyx-devel/trunk/lib/configure.py > ============================================================================== > --- lyx-devel/trunk/lib/configure.py Wed Nov 25 20:57:57 2009 (r32200) > +++ lyx-devel/trunk/lib/configure.py Wed Nov 25 22:46:33 2009 (r32201) > @@ -573,6 +573,7 @@ > \Format sxw sxw "OpenOffice.Org (sxw)" "" "" "" > "document,vector" > \Format wmf wmf "Windows Metafile" "" "" "" "vector" > \Format emf emf "Enhanced Metafile" "" "" "" "vector" > +\Format svg svg "Scalable Vector Graphics" "" "" "" "vector" > \Format word doc "MS Word" W "" "" > "document,vector" > \Format wordhtml html "HTML (MS Word)" "" "" "" "document" > ''') > @@ -754,6 +755,15 @@ > checkProg('a Dia -> EPS converter', ['dia -e $$o -t eps $$i'], > rc_entry = [ r'\converter dia eps "%%" ""']) > # > + checkProg('a SVG -> PDF converter', ['rsvg-convert -f pdf -o $$o $$i'], > + rc_entry = [ r'\converter svg pdf "%%" ""']) > + # > + checkProg('a SVG -> EPS converter', ['rsvg-convert -f ps -o $$o $$i'], > + rc_entry = [ r'\converter svg eps "%%" ""']) > + # > + checkProg('a SVG -> EPS converter', ['rsvg-convert -f png -o $$o $$i'], > + rc_entry = [ r'\converter svg png "%%" ""']) > + # > # > path, lilypond = checkProg('a LilyPond -> EPS/PDF/PNG converter', > ['lilypond']) > if (lilypond != ''):