From 0c6d32eb04caf132488022699ff051eaa1cee056 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Wed, 25 Nov 2009 21:46:33 +0000 Subject: [PATCH] Fix bug #3349 - SVG support in Lyx You wouldn't believe it, the convertor was already on my box ;) Credit goes to Carl Worth. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32201 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/configure.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/configure.py b/lib/configure.py index 71b0dcce39..ef1f852ef9 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -573,6 +573,7 @@ def checkFormatEntries(dtl_tools): \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 @@ def checkConverterEntries(): 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 != ''):