configure.py: add support for the EMF file format and the metafile2eps conversion utility for WMF/EMF to EPS conversion

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19196 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Joost Verburg 2007-07-24 21:08:25 +00:00
parent 23d0362d04
commit b3ace671d2

View File

@ -311,7 +311,8 @@ def checkFormatEntries(dtl_tools):
\Format rtf rtf "Rich Text Format" "" "" "" "document,vector"
\Format sxw sxw "OpenOffice.Org (sxw)" "" "" "" "document,vector"
\Format odt odt "Open Document" O "" "" "document,vector"
\Format wmf wmf "Windows Meta File" "" "" "" "vector"
\Format wmf wmf "Windows Metafile" "" "" "" "vector"
\Format emf emf "Enhanced Metafile" "" "" "" "vector"
\Format word doc "MS Word" W "" "" "document,vector"
\Format wordhtml html "HTML (MS Word)" "" "" "" "document"
''')
@ -418,8 +419,11 @@ def checkConverterEntries():
\converter tgif pdf "tgif -stdout -print -color -pdf $$i > $$o" ""''',
''])
#
checkProg('a WMF -> EPS converter', ['wmf2eps -o $$o $$i'],
rc_entry = [ r'\converter wmf eps "%%" ""', ''])
checkProg('a WMF -> EPS converter', ['metafile2eps $$i $$o', 'wmf2eps -o $$o $$i'],
rc_entry = [ r'\converter wmf eps "%%" ""'])
#
checkProg('an EMF -> EPS converter', ['metafile2eps $$i $$o', 'wmf2eps -o $$o $$i'],
rc_entry = [ r'\converter emf eps "%%" ""'])
#
checkProg('an EPS -> PDF converter', ['epstopdf'],
rc_entry = [ r'\converter eps pdf "epstopdf --outfile=$$o $$i" ""', ''])