]> git.lyx.org Git - features.git/commitdiff
Fix bug 2845
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 22 Sep 2006 11:37:22 +0000 (11:37 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 22 Sep 2006 11:37:22 +0000 (11:37 +0000)
* lib/configure.py
(checkFormatEntries): Add wmf format
(checkConverterEntries): Add wmf -> eps converter

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15118 a592a061-630c-0410-9148-cb99ea01b6c8

lib/configure.py

index 11a06f85dcbe61419c9daef6bb33ed9e05b5eefd..867fcec402f70ae8195df7a5d28d1deefe99f4dd 100644 (file)
@@ -296,6 +296,7 @@ def checkFormatEntries():
 \Format program    ""      Program                "" ""        ""      ""
 \Format pstex      pstex_t PSTEX                  "" ""        ""      ""
 \Format sxw        sxw    "OpenOffice.Org Writer" O  ""        ""      "document"
+\Format wmf        wmf    "Windows Meta File"     "" ""        ""      ""
 \Format word       doc    "MS Word"               W  ""        ""      "document"
 \Format wordhtml   html   "MS Word (HTML)"        "" ""        ""      "document"
 ''')
@@ -385,6 +386,9 @@ 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 EPS -> PDF converter', ['epstopdf'],
         rc_entry = [ r'\converter eps        pdf        "epstopdf --outfile=$$o $$i"   ""', ''])
     #