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/branches/BRANCH_1_4_X@19197 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Joost Verburg 2007-07-24 21:12:42 +00:00
parent 22ef5df30f
commit 7d83d5d081
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2007-07-24 Joost Verburg <joostverburg@users.sf.net>
* configure.py: add support for the EMF file format and the
metafile2eps conversion utility for WMF/EMF to EPS conversion
2007-07-24 José Matos <jamatos@lyx.org>
* unicodesymbols: new file to read documents from 1.5.x

View File

@ -313,7 +313,8 @@ def checkFormatEntries(dtl_tools):
\Format pstex pstex_t PSTEX "" "" "" ""
\Format rtf rtf "Rich Text Format" "" "" "" "vector"
\Format sxw sxw "OpenOffice.Org Writer" O "" "" "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 "" "" "vector"
\Format wordhtml html "MS Word (HTML)" "" "" "" ""
''')
@ -397,8 +398,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('a EPS -> PDF converter', ['epstopdf'],
rc_entry = [ r'\converter eps pdf "epstopdf --outfile=$$o $$i" ""', ''])