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
This commit is contained in:
Pavel Sanda 2009-11-25 21:46:33 +00:00
parent 2c32b53923
commit 0c6d32eb04

View File

@ -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 != ''):